Class InvalidCartItemException
Exception associated with a cart item.
Implements
Inherited Members
Namespace: UnityEngine.Purchasing
Assembly: Unity.Purchasing.dll
Syntax
[Serializable]
public class InvalidCartItemException : IapException, ISerializable
Constructors
InvalidCartItemException()
Create a default InvalidCartItemException.
Declaration
public InvalidCartItemException()
InvalidCartItemException(SerializationInfo, StreamingContext)
Create a serialized InvalidCartItemException with SerializationInfo and a StreamingContext.
Declaration
protected InvalidCartItemException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The |
StreamingContext | context | The |
InvalidCartItemException(string)
Create an InvalidCartItemException with a message string.
Declaration
public InvalidCartItemException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message describing the exception. |