MethodCall Constructors

Definition

Initializes a new instance of the MethodCall class.

Overloads

MethodCall(Header[])

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

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

MethodCall(IMessage)

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

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.

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

C#
public MethodCall(System.Runtime.Remoting.Messaging.Header[] h1);
C#
[System.Security.SecurityCritical]
public MethodCall(System.Runtime.Remoting.Messaging.Header[] h1);

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.

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

MethodCall(IMessage)

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

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

C#
public MethodCall(System.Runtime.Remoting.Messaging.IMessage msg);
C#
[System.Security.SecurityCritical]
public MethodCall(System.Runtime.Remoting.Messaging.IMessage msg);

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

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1