MethodCallMessageWrapper(IMethodCallMessage) 构造函数
定义
通过包装 MethodCallMessageWrapper 接口初始化 IMethodCallMessage 类的新实例。Initializes a new instance of the MethodCallMessageWrapper class by wrapping an IMethodCallMessage interface.
此 API 支持产品基础结构,不能在代码中直接使用。
public:
MethodCallMessageWrapper(System::Runtime::Remoting::Messaging::IMethodCallMessage ^ msg);
public MethodCallMessageWrapper (System.Runtime.Remoting.Messaging.IMethodCallMessage msg);
new System.Runtime.Remoting.Messaging.MethodCallMessageWrapper : System.Runtime.Remoting.Messaging.IMethodCallMessage -> System.Runtime.Remoting.Messaging.MethodCallMessageWrapper
Public Sub New (msg As IMethodCallMessage)
参数
作为远程对象上的输出方法调用的消息。A message that acts as an outgoing method call on a remote object.
注解
MethodCallMessageWrapper类由 .NET Framework 的远程处理基础结构使用。The MethodCallMessageWrapper class is used by the remoting infrastructure of the .NET Framework. 不需要直接创建类的实例 MethodCallMessageWrapper ,而是使用 IMethodCallMessage 接口。You do not need to create an instance of the MethodCallMessageWrapper class directly; instead, use the IMethodCallMessage interface.