InternalMessageWrapper(IMessage) Constructor

Definition

Initializes a new instance of the InternalMessageWrapper class.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 InternalMessageWrapper(System::Runtime::Remoting::Messaging::IMessage ^ msg);
public InternalMessageWrapper (System.Runtime.Remoting.Messaging.IMessage msg);
new System.Runtime.Remoting.Messaging.InternalMessageWrapper : System.Runtime.Remoting.Messaging.IMessage -> System.Runtime.Remoting.Messaging.InternalMessageWrapper
Public Sub New (msg As IMessage)

Parameters

msg
IMessage

A message that acts either as an outgoing method call on a remote object, or as the subsequent response.

Remarks

The InternalMessageWrapper class is used by the remoting infrastructure of the .NET Framework. You do not need to create an InternalMessageWrapper directly.

The IMessage parameter also implements the derived interface, IMethodMessage, which indicates that the message acts as a request or as a response on a remote method call. The IMethodCallMessage and IMethodReturnMessage interfaces, in turn, inherit from the IMethodMessage interface.

Applies to