Class MissingPropertyBagException | Properties | 1.1.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class MissingPropertyBagException

    The exception that is thrown when trying to visit a container with no property bag.

    Inheritance
    Object
    Exception
    MissingPropertyBagException
    Namespace: Unity.Properties
    Syntax
    [Serializable]
    public class MissingPropertyBagException : Exception, ISerializable, _Exception

    Constructors

    MissingPropertyBagException(Type)

    Initializes a new instance of the MissingPropertyBagException class with a specified type.

    Declaration
    public MissingPropertyBagException(Type type)
    Parameters
    Type Name Description
    Type type

    The type for which no property bag was found.

    MissingPropertyBagException(Type, Exception)

    Initializes a new instance of the MissingPropertyBagException class with a specified type and a reference to the inner exception that is the cause of this exception.

    Declaration
    public MissingPropertyBagException(Type type, Exception inner)
    Parameters
    Type Name Description
    Type type

    The type for which no property bag was found.

    Exception inner

    The inner exception reference.

    Properties

    Type

    The type which triggered the exception.

    Declaration
    public Type Type { get; }
    Property Value
    Type Description
    Type
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023