ValidationException Properties

Occurs if the validation of a RuleSet is unsuccessful.

Name Description
Data Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from Exception)
DefaultErrorMessageHandler

For internal use.

HResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
(Inherited from Exception)
Gets or sets a link to the help file associated with this exception.
(Inherited from Exception)
InnerException Gets the instance that caused the current exception.
(Inherited from Exception)
Message

Returns an error message including a ValidationException.MessageHeader.

MessageHeader

The string that precedes a ValidationException.Message.

ObjectHeaderFormat

A property that allows you to customize the string that represents an invalid object.

Result

The validation result.

Source Gets or sets the name of the application or the object that causes the error.
(Inherited from Exception)
StackTrace Gets a string representation of the immediate frames on the call stack.
(Inherited from Exception)
TargetSite Gets the method that throws the current exception.
(Inherited from Exception)