docs.unity.cn
    Show / Hide Table of Contents

    Class ItemCollectionNotFoundException

    Thrown when an IItemCollection fails to be found by its id.

    Inheritance
    Object
    Exception
    GameFoundationException
    ItemCollectionNotFoundException
    Inherited Members
    GameFoundationException.k_MessageBuilder
    Namespace: UnityEngine.GameFoundation.Exceptions
    Syntax
    public class ItemCollectionNotFoundException : GameFoundationException, ISerializable, _Exception

    Constructors

    ItemCollectionNotFoundException(String, String)

    Initializes a new instance of the ItemCollectionNotFoundException class.

    Declaration
    public ItemCollectionNotFoundException(string id, string collectionTypeName)
    Parameters
    Type Name Description
    String id

    The identifier of the IItemCollection not found.

    String collectionTypeName

    The type name of the missing collection.

    Properties

    collectionId

    The identifier of the collection not found.

    Declaration
    public string collectionId { get; }
    Property Value
    Type Description
    String

    collectionTypeName

    The type name of the missing collection.

    Declaration
    public string collectionTypeName { get; }
    Property Value
    Type Description
    String
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 16 June 2021