Class MissingPropertyBagException
The exception that is thrown when trying to visit a container with no property bag.
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 |