Uredi

Deli z drugimi prek


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.

public:
 MethodCall(cli::array <System::Runtime::Remoting::Messaging::Header ^> ^ h1);
public MethodCall (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
[<System.Security.SecurityCritical>]
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.

Applies to

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.

public:
 MethodCall(System::Runtime::Remoting::Messaging::IMessage ^ msg);
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
[<System.Security.SecurityCritical>]
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