Compartir a través de


PropertyWriteException Miembros

The PropertyWriteException class represents the exception that is raised when an error occurs when setting the value of a property.

El tipo PropertyWriteException expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico PropertyWriteException() () () () Initializes a new instance of the PropertyWriteException class.
Método publico PropertyWriteException(String) Initializes a new instance of the PropertyWriteException class with the specified message.
Método publico PropertyWriteException(String, Exception) Initializes a new instance of the PropertyWriteException class with the specified message and specified inner exception.
Método publico PropertyWriteException(String, String, String, String) Initializes a new instance of the PropertyWriteException class with the specified property name, object kind, object name, and reason.

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 Returns object data to facilitate remoting. (Invalida Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext).)
Método publico GetType (Se hereda de Exception).
Método protegido MemberwiseClone (Se hereda de Object).
Método protegido SetHelpContext Sets the Help context value for the referenced exception. (Se hereda de SmoException).
Método publico ToString (Se hereda de Exception).

Principio

Propiedades

  Nombre Descripción
Propiedad pública Data (Se hereda de Exception).
Propiedad pública HelpLink Gets the Help link for further information from Microsoft about the SMO exception. (Se hereda de SmoException).
Propiedad protegida HResult (Se hereda de Exception).
Propiedad pública InnerException (Se hereda de Exception).
Propiedad pública Message Gets the message that describes the exception. (Invalida Exception. . :: . .Message.)
Propiedad pública PropertyName Gets the name of the property that received a value with the incorrect data type.
Propiedad pública SmoExceptionType Gets the type of SMO exception. (Invalida SmoException. . :: . .SmoExceptionType.)
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