Class InvalidContainerTypeException
The exception that is thrown when trying to visit an invalid container type.
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 |