MethodResponse(Header[], IMethodCallMessage) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从远程处理标头数组和请求消息初始化类的新实例 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"的标头的字段。
充当远程对象的方法调用的请求消息。
- 属性
注解
.NET框架的远程处理基础结构使用 MethodResponse 类。 无需直接创建类的 MethodResponse 实例;而是使用 IMethodReturnMessage 接口。