Class UnsetPropertiesException
An exception which indicates an object had several properties that were not properly initialized.
public class UnsetPropertiesException : InvalidOperationException, ISerializable
- Inheritance
-
UnsetPropertiesException
- Implements
- Inherited Members
- Extension Methods
Constructors
UnsetPropertiesException(IEnumerable<string>, Type)
An exception which indicates an object had several properties that were not properly initialized.
public UnsetPropertiesException(IEnumerable<string> propertyNames, Type type)
Parameters
propertyNamesIEnumerable<string>The properties that were not set
typeTypeThe type that the property belongs to
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 ("").
PropertyNames
Gets the property names of the uninitialized properties.
public string[] PropertyNames { get; }
Property Value
- string[]
TypeName
Gets the type name of the uninitialized property.
public string TypeName { get; }