Share via


ValidationError Members

Include Protected Members
Include Inherited Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The ValidationError type exposes the following members.

Constructors

  Name Description
Public method ValidationError
Initialize a new instance of the ValidationError calss with the invalid object, property name, and error message.

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString
Returns the string representatio of the error.
(Overrides Object.ToString().)

Properties

  Name Description
Public property InvalidItem
Gets or sets the invalid object that that valid validation.
Public property Message
Gets or sets the message for the error.
Public property PropertyName
Gets the property name of the failed validation.

See Also

ValidationError Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Validation Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.