SoapFault 類別

定義

在 SOAP 訊息中帶有錯誤和狀態資訊。 此類別無法獲得繼承。

public ref class SoapFault sealed : System::Runtime::Serialization::ISerializable
[System.Runtime.Remoting.Metadata.SoapType(Embedded=true)]
[System.Serializable]
public sealed class SoapFault : System.Runtime.Serialization.ISerializable
[System.Runtime.Remoting.Metadata.SoapType(Embedded=true)]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class SoapFault : System.Runtime.Serialization.ISerializable
[<System.Runtime.Remoting.Metadata.SoapType(Embedded=true)>]
[<System.Serializable>]
type SoapFault = class
    interface ISerializable
[<System.Runtime.Remoting.Metadata.SoapType(Embedded=true)>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type SoapFault = class
    interface ISerializable
Public NotInheritable Class SoapFault
Implements ISerializable
繼承
SoapFault
屬性
實作

建構函式

SoapFault()

使用預設值,初始化 SoapFault 類別的新執行個體。

SoapFault(String, String, String, ServerFault)

初始化 SoapFault 類別的新執行個體,藉由將屬性設定為指定值。

屬性

Detail

取得或設定 SoapFault 所需的額外資訊。

FaultActor

取得或設定 SoapFault 的錯誤行動者。

FaultCode

取得或設定 SoapFault 的錯誤程式碼。

FaultString

取得或設定 SoapFault 的錯誤訊息。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetObjectData(SerializationInfo, StreamingContext)

將資料填入指定的 SerializationInfo,以便序列化 SoapFault 物件。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於