MethodCall Constructors

Definition

Initializes a new instance of the MethodCall class.

Overloads

MethodCall(Header[])

Initializes a new instance of the MethodCall class from an array of remoting headers.

MethodCall(IMessage)

Initializes a new instance of the MethodCall class by copying an existing message.

MethodCall(Header[])

Initializes a new instance of the MethodCall class from an array of remoting headers.

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

Parameters

h1
Header[]

An array of remoting headers that contains key/value pairs. This array is used to initialize MethodCall fields for headers that belong to the namespace "http://schemas.microsoft.com/clr/soap/messageProperties".

Attributes

Remarks

The MethodCall class is used by the remoting infrastructure of the .NET Framework. You do not need to create an instance of the MethodCall class directly; instead, use the IMethodCallMessage interface.

MethodCall(IMessage)

Initializes a new instance of the MethodCall class by copying an existing message.

public:
 MethodCall(System::Runtime::Remoting::Messaging::IMessage ^ msg);
[System.Security.SecurityCritical]
public MethodCall (System.Runtime.Remoting.Messaging.IMessage msg);
new System.Runtime.Remoting.Messaging.MethodCall : System.Runtime.Remoting.Messaging.IMessage -> System.Runtime.Remoting.Messaging.MethodCall
Public Sub New (msg As IMessage)

Parameters

msg
IMessage

A remoting message.

Attributes

Remarks

The MethodCall class is used by the remoting infrastructure of the .NET Framework. You do not need to create an instance of the MethodCall class directly; instead, use the IMethodCallMessage interface.

Applies to