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

    Class InvalidContainerTypeException

    The exception that is thrown when trying to visit an invalid container type.

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

    Constructors

    InvalidContainerTypeException(Type)

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

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

    The invalid container type.

    InvalidContainerTypeException(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 InvalidContainerTypeException(Type type, Exception inner)
    Parameters
    Type Name Description
    Type type

    The invalid container type.

    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