docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class InvalidCartItemException

    Exception associated with a cart item.

    Inheritance
    object
    Exception
    IapException
    InvalidCartItemException
    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 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 SerializationInfo used to serialize this constructor.

    StreamingContext context

    The StreamingContext used to serialize this constructor.

    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.

    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)