MethodResponse(Header[], IMethodCallMessage) コンストラクター

定義

リモート処理ヘッダーと要求メッセージの配列から、 MethodResponse クラスの新しいインスタンスを初期化します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

public:
 MethodResponse(cli::array <System::Runtime::Remoting::Messaging::Header ^> ^ h1, System::Runtime::Remoting::Messaging::IMethodCallMessage ^ mcm);
public MethodResponse(System.Runtime.Remoting.Messaging.Header[] h1, System.Runtime.Remoting.Messaging.IMethodCallMessage mcm);
[System.Security.SecurityCritical]
public MethodResponse(System.Runtime.Remoting.Messaging.Header[] h1, System.Runtime.Remoting.Messaging.IMethodCallMessage mcm);
new System.Runtime.Remoting.Messaging.MethodResponse : System.Runtime.Remoting.Messaging.Header[] * System.Runtime.Remoting.Messaging.IMethodCallMessage -> System.Runtime.Remoting.Messaging.MethodResponse
[<System.Security.SecurityCritical>]
new System.Runtime.Remoting.Messaging.MethodResponse : System.Runtime.Remoting.Messaging.Header[] * System.Runtime.Remoting.Messaging.IMethodCallMessage -> System.Runtime.Remoting.Messaging.MethodResponse
Public Sub New (h1 As Header(), mcm As IMethodCallMessage)

パラメーター

h1
Header[]

キーと値のペアを含むリモート処理ヘッダーの配列。 この配列は、名前空間MethodResponseに属するヘッダーの"http://schemas.microsoft.com/clr/soap/messageProperties"フィールドを初期化するために使用されます。

mcm
IMethodCallMessage

リモート オブジェクトのメソッド呼び出しとして機能する要求メッセージ。

属性

注釈

MethodResponse クラスは、.NET Framework のリモート処理インフラストラクチャによって使用されます。 MethodResponse クラスのインスタンスを直接作成する必要はありません。代わりに、IMethodReturnMessage インターフェイスを使用します。

適用対象