docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NullReceiptException

    An error was found when an unexpectedly null Product.receipt.receipt is provided.

    Inheritance
    object
    Exception
    IapException
    ReceiptParserException
    NullReceiptException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Purchasing
    Assembly: Unity.Purchasing.dll
    Syntax
    [Serializable]
    public class NullReceiptException : ReceiptParserException, ISerializable

    Constructors

    NullReceiptException()

    Construct an error object for parsing a null receipt.

    Declaration
    public NullReceiptException()

    NullReceiptException(SerializationInfo, StreamingContext)

    Initializes a new instance of the NullReceiptException class with serialized data.

    Declaration
    protected NullReceiptException(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.

    NullReceiptException(string)

    Construct an error object for parsing a null receipt.

    Declaration
    public NullReceiptException(string message)
    Parameters
    Type Name Description
    string message

    Description of error

    Implements

    ISerializable
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)