docs.unity.cn
    Show / Hide Table of Contents

    Class PropertyNotFoundException

    Thrown when a requested property key doesn't exist in an item.

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

    Constructors

    PropertyNotFoundException(String, String)

    Initializes a new instance of the PropertyNotFoundException type.

    Declaration
    public PropertyNotFoundException(string itemId, string propertyKey)
    Parameters
    Type Name Description
    String itemId

    The item's identifier where the requested property doesn't exist.

    String propertyKey

    The property's identifier not found.

    Properties

    itemId

    The item's identifier where the requested property doesn't exist.

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

    propertyKey

    The property's identifier not found.

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