Class InvalidProductTypeException
An error was found when an invalid Product.definition.type.definition.type
is provided.
Implements
Inherited Members
Namespace: UnityEngine.Purchasing
Assembly: Unity.Purchasing.dll
Syntax
[Serializable]
public class InvalidProductTypeException : ReceiptParserException, ISerializable
Constructors
InvalidProductTypeException()
Construct an error object for receipt parsing an invalid product type.
Declaration
public InvalidProductTypeException()
InvalidProductTypeException(SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidProductTypeException class with serialized data.
Declaration
protected InvalidProductTypeException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
InvalidProductTypeException(string)
Construct an error object for receipt parsing an invalid product type.
Declaration
public InvalidProductTypeException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | Description of error |