Class UnsetPropertyException
An exception which indicates an object was not properly initialized, thrown by a property getter that was accessed by the uninitialized object.
public class UnsetPropertyException : InvalidOperationException, ISerializable
- Inheritance
-
UnsetPropertyException
- Implements
- Inherited Members
- Extension Methods
Constructors
UnsetPropertyException(string, Type)
An exception which indicates an object was not properly initialized, thrown by a property getter that was accessed by the uninitialized object.
public UnsetPropertyException(string propertyName, Type type)
Parameters
Properties
Message
Gets a message that describes the current exception.
public override string Message { get; }
Property Value
- string
The error message that explains the reason for the exception, or an empty string ("").
PropertyName
Gets the property name of the uninitialized property.
public string PropertyName { get; }
Property Value
TypeName
Gets the type name of the uninitialized property.
public string TypeName { get; }