Compartir a través de


ObjectValidationException Miembros

The ObjectValidationException class is an exception that is raised when an object encounters an error during validation.

El tipo ObjectValidationException expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico ObjectValidationException() () () ()
Método publico ObjectValidationException(String) Initializes a new instance of the ObjectValidationException class that has the specified message text.
Método publico ObjectValidationException(String, Exception) Initializes a new instance of the ObjectValidationException class that has the specified message text and inner exception.
Método publico ObjectValidationException(String, String) Initializes a new instance of the ObjectValidationException class that has the specified object name and type.
Método publico ObjectValidationException(String, String, Exception) Initializes a new instance of the ObjectValidationException class that has the specified object name, object type and inner exception.

Principio

Métodos

  Nombre Descripción
Método publico Equals (Se hereda de Object).
Método protegido Finalize (Se hereda de Object).
Método publico GetBaseException (Se hereda de Exception).
Método publico GetHashCode (Se hereda de Object).
Método publico GetObjectData (Invalida Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext).)
Método publico GetType (Se hereda de Exception).
Método protegido Init (Se hereda de DmfException).
Método protegido MemberwiseClone (Se hereda de Object).
Método protegido SetHelpContext (Se hereda de DmfException).
Método publico ToString (Se hereda de Exception).

Principio

Propiedades

  Nombre Descripción
Propiedad pública Data (Se hereda de Exception).
Propiedad pública DmfExceptionType (Invalida DmfException. . :: . .DmfExceptionType.)
Propiedad pública HelpLink (Se hereda de DmfException).
Propiedad protegida HResult (Se hereda de Exception).
Propiedad pública InnerException (Se hereda de Exception).
Propiedad pública Message (Invalida Exception. . :: . .Message.)
Propiedad pública ObjectName Gets the name of the object that encountered an error during validation.
Propiedad pública ObjectType Gets the type of the object that encountered an error during validation.
Propiedad pública Source (Se hereda de Exception).
Propiedad pública StackTrace (Se hereda de Exception).
Propiedad pública TargetSite (Se hereda de Exception).

Principio