SoapFault SoapFault SoapFault SoapFault Class

定義

在 SOAP 訊息中帶有錯誤和狀態資訊。Carries error and status information within a SOAP message. 這個類別無法被繼承。This class cannot be inherited.

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

建構函式

SoapFault() SoapFault() SoapFault() SoapFault()

使用預設值,初始化 SoapFault 類別的新執行個體。Initializes a new instance of the SoapFault class with default values.

SoapFault(String, String, String, ServerFault) SoapFault(String, String, String, ServerFault) SoapFault(String, String, String, ServerFault) SoapFault(String, String, String, ServerFault)

初始化 SoapFault 類別的新執行個體,藉由將屬性設定為指定值。Initializes a new instance of the SoapFault class, setting the properties to specified values.

屬性

Detail Detail Detail Detail

取得或設定 SoapFault 所需的額外資訊。Gets or sets additional information required for the SoapFault.

FaultActor FaultActor FaultActor FaultActor

取得或設定 SoapFault 的錯誤行動者。Gets or sets the fault actor for the SoapFault.

FaultCode FaultCode FaultCode FaultCode

取得或設定 SoapFault 的錯誤程式碼。Gets or sets the fault code for the SoapFault.

FaultString FaultString FaultString FaultString

取得或設定 SoapFault 的錯誤訊息。Gets or sets the fault message for the SoapFault.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

將資料填入指定的 SerializationInfo,以便序列化 SoapFault 物件。Populates the specified SerializationInfo with the data to serialize the SoapFault object.

GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

適用於