Język

InternalMessageWrapper(IMessage) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy InternalMessageWrapper.

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

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)

Parametry

msg
IMessage

Komunikat, który działa jako metoda wychodząca wywołanie obiektu zdalnego lub jako kolejna odpowiedź.

Uwagi

Klasa InternalMessageWrapper jest używana przez infrastrukturę komunikacji zdalną platformy .NET. Nie trzeba tworzyć bezpośrednio InternalMessageWrapper .

Parametr IMessage implementuje również interfejs pochodny , który wskazuje, IMethodMessageże komunikat działa jako żądanie lub jako odpowiedź w wywołaniu metody zdalnej. Interfejsy IMethodCallMessage i IMethodReturnMessage z kolei dziedziczą z interfejsu IMethodMessage .

Dotyczy