ISoapMessage 介面

定義

提供介面給含有 SOAP RPC (遠端程序呼叫) 序列化 (Serialization) 期間所需參數名稱和型別的物件。

public interface class ISoapMessage
public interface ISoapMessage
[System.Runtime.InteropServices.ComVisible(true)]
public interface ISoapMessage
type ISoapMessage = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type ISoapMessage = interface
Public Interface ISoapMessage
衍生
屬性

備註

當支援這個介面的物件是序列化圖形的根目錄時,SOAP 會以 RPC 格式產生。 介面 ISoapMessage 包含方法呼叫還原序列化期間所使用的方法呼叫參數類型。

若要支援以 介面為基礎的 ISoapMessage SOAP RPC 呼叫,且不使用 IRemotingFormatter 此功能,請將 SoapFormatter.TopObject 屬性設定為支援這個介面的物件。

屬性

Headers

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

MethodName

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

ParamNames

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

ParamTypes

取得或設定方法呼叫的參數型別。

ParamValues

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

XmlNameSpace

取得或設定 SOAP RPC (遠端程序呼叫) MethodName 項目的 XML 命名空間。

適用於