docs.unity.cn
    Show / Hide Table of Contents

    Class CatalogItemNotFoundException

    Thrown when a CatalogItem fails to be found by its key.

    Inheritance
    Object
    Exception
    GameFoundationException
    CatalogItemNotFoundException
    CatalogItemNotFoundException<TCatalogItem>
    Inherited Members
    GameFoundationException.k_MessageBuilder
    Namespace: UnityEngine.GameFoundation.Exceptions
    Syntax
    public class CatalogItemNotFoundException : GameFoundationException, ISerializable, _Exception

    Constructors

    CatalogItemNotFoundException(String)

    Initializes a new instance of the CatalogItemNotFoundException class.

    Declaration
    public CatalogItemNotFoundException(string key)
    Parameters
    Type Name Description
    String key

    The identifier of the CatalogItem not found.

    CatalogItemNotFoundException(String, String)

    Declaration
    protected CatalogItemNotFoundException(string key, string missingItemTypeName)
    Parameters
    Type Name Description
    String key
    String missingItemTypeName

    The type name of the missing catalog item.

    Properties

    catalogItemTypeName

    The type name of the missing catalog item.

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

    itemKey

    The identifier of the item not found.

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