MethodCall Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy MethodCall.

Przeciążenia

Nazwa Opis
MethodCall(Header[])

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

Inicjuje nowe wystąpienie MethodCall klasy z tablicy nagłówków komunikacji wirtualnej.

MethodCall(IMessage)

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

Inicjuje nowe wystąpienie MethodCall klasy, kopiując istniejący komunikat.

MethodCall(Header[])

Inicjuje nowe wystąpienie MethodCall klasy z tablicy nagłówków komunikacji wirtualnej.

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

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())

Parametry

h1
Header[]

Tablica nagłówków komunikacji zdalnie, która zawiera pary klucz/wartość. Ta tablica służy do inicjowania MethodCall pól nagłówków należących do przestrzeni nazw "http://schemas.microsoft.com/clr/soap/messageProperties".

Atrybuty

Uwagi

Klasa MethodCall jest używana przez infrastrukturę komunikacji zdalną platformy .NET. Nie trzeba bezpośrednio tworzyć wystąpienia MethodCall klasy. Zamiast tego należy użyć interfejsu IMethodCallMessage .

Dotyczy

MethodCall(IMessage)

Inicjuje nowe wystąpienie MethodCall klasy, kopiując istniejący komunikat.

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

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)

Parametry

msg
IMessage

Wiadomość zdalna.

Atrybuty

Uwagi

Klasa MethodCall jest używana przez infrastrukturę komunikacji zdalną platformy .NET. Nie trzeba bezpośrednio tworzyć wystąpienia MethodCall klasy. Zamiast tego należy użyć interfejsu IMethodCallMessage .

Dotyczy