SoapMessage 類別

定義

存留 SOAP RPC (遠端程序呼叫) 序列化 (Serialization) 期間所需參數的名稱和型別。

public ref class SoapMessage : System::Runtime::Serialization::Formatters::ISoapMessage
[System.Serializable]
public class SoapMessage : System.Runtime.Serialization.Formatters.ISoapMessage
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public class SoapMessage : System.Runtime.Serialization.Formatters.ISoapMessage
[<System.Serializable>]
type SoapMessage = class
    interface ISoapMessage
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type SoapMessage = class
    interface ISoapMessage
Public Class SoapMessage
Implements ISoapMessage
繼承
SoapMessage
屬性
實作

備註

SoapMessage 是串行化圖形的根目錄時,SOAP 會以 RPC (遠端過程調用) 格式產生,而 SoapMessage 物件則用來指定方法呼叫參數類型。 屬性 SoapFormatter.TopObject 可以在還原串行化期間設定為這個物件。

建構函式

SoapMessage()

初始化 SoapMessage 類別的新執行個體。

屬性

Headers

取得或設定所呼叫方法的 Out-Of-Band Data。

MethodName

取得或設定所呼叫方法的名稱。

ParamNames

取得或設定所呼叫方法的參數名稱。

ParamTypes

保留這個屬性。 請改用 ParamNames 和 (或) ParamValues 屬性。

ParamValues

取得或設定所呼叫方法的參數值。

XmlNameSpace

取得或設定 XML 命名空間 (Namespace) 名稱,含有所呼叫之方法的物件位於其中。

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於