共用方式為


FailedOperationException 成員

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

FailedOperationException 型別公開下列成員。

建構函式

  名稱 描述
公用方法 FailedOperationException() () () () Initializes a new instance of the FailedOperationException class.
公用方法 FailedOperationException(String) Initializes a new instance of the FailedOperationException class that has the specified message.
公用方法 FailedOperationException(String, Exception) Initializes a new instance of the FailedOperationException class that has the specified message and inner exception.
公用方法 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.
公用方法 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.

頂端

方法

  名稱 描述
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetBaseException (繼承自 Exception。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetObjectData Override based on the virtual SerializationInfo method GetObjectData. (覆寫 Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext)。)
公用方法 GetType (繼承自 Exception。)
受保護的方法 MemberwiseClone (繼承自 Object。)
受保護的方法 SetHelpContext Sets the Help context value for the referenced exception. (繼承自 SmoException。)
公用方法 ToString (繼承自 Exception。)

頂端

屬性

  名稱 描述
公用屬性 Data (繼承自 Exception。)
公用屬性 FailedObject Gets or sets the object on which the operation failed.
公用屬性 HelpLink Gets the Help link for further information from Microsoft about the SMO exception. (繼承自 SmoException。)
受保護的屬性 HResult (繼承自 Exception。)
公用屬性 InnerException (繼承自 Exception。)
公用屬性 Message Gets the message text that explains the exception. (覆寫 Exception. . :: . .Message。)
公用屬性 Operation Gets or sets the operation that failed.
公用屬性 SmoExceptionType Gets the exception type. (覆寫 SmoException. . :: . .SmoExceptionType。)
公用屬性 Source (繼承自 Exception。)
公用屬性 StackTrace (繼承自 Exception。)
公用屬性 TargetSite (繼承自 Exception。)

頂端