Compartir a través de


FailedOperationException Miembros

The FailedOperationException class represents the exception raised when an operation fails.

El tipo FailedOperationException expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico FailedOperationException() () () () Initializes a new instance of the FailedOperationException class.
Método publico FailedOperationException(String) Initializes a new instance of the FailedOperationException class that has the specified message.
Método publico FailedOperationException(String, Exception) Initializes a new instance of the FailedOperationException class that has the specified message and inner exception.
Método publico FailedOperationException(String, Object, Exception) Initializes a new instance of the FailedOperationException class with the specified object on which the specified operation failed and that has the specified inner exception.
Método publico FailedOperationException(String, Object, Exception, String) Initializes a new instance of the FailedOperationException class that has the specified object on which the specified operation failed, and that has the specified inner exception and reason for occurring.

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 Override based on the virtual SerializationInfo method GetObjectData. (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 FailedObject Gets or sets the object on which the operation failed.
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 text that explains the exception. (Invalida Exception. . :: . .Message.)
Propiedad pública Operation Gets or sets the operation that failed.
Propiedad pública SmoExceptionType Gets the exception type. (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