Sdílet prostřednictvím


AsyncResult.AsyncProcessMessage(IMessage, IMessageSink) Metoda

Definice

Implementuje IMessageSink rozhraní .

public:
 virtual System::Runtime::Remoting::Messaging::IMessageCtrl ^ AsyncProcessMessage(System::Runtime::Remoting::Messaging::IMessage ^ msg, System::Runtime::Remoting::Messaging::IMessageSink ^ replySink);
public virtual System.Runtime.Remoting.Messaging.IMessageCtrl AsyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Messaging.IMessageSink replySink);
[System.Security.SecurityCritical]
public virtual System.Runtime.Remoting.Messaging.IMessageCtrl AsyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Messaging.IMessageSink replySink);
abstract member AsyncProcessMessage : System.Runtime.Remoting.Messaging.IMessage * System.Runtime.Remoting.Messaging.IMessageSink -> System.Runtime.Remoting.Messaging.IMessageCtrl
override this.AsyncProcessMessage : System.Runtime.Remoting.Messaging.IMessage * System.Runtime.Remoting.Messaging.IMessageSink -> System.Runtime.Remoting.Messaging.IMessageCtrl
[<System.Security.SecurityCritical>]
abstract member AsyncProcessMessage : System.Runtime.Remoting.Messaging.IMessage * System.Runtime.Remoting.Messaging.IMessageSink -> System.Runtime.Remoting.Messaging.IMessageCtrl
override this.AsyncProcessMessage : System.Runtime.Remoting.Messaging.IMessage * System.Runtime.Remoting.Messaging.IMessageSink -> System.Runtime.Remoting.Messaging.IMessageCtrl
Public Overridable Function AsyncProcessMessage (msg As IMessage, replySink As IMessageSink) As IMessageCtrl

Parametry

msg
IMessage

Rozhraní požadavku IMessage .

replySink
IMessageSink

Rozhraní odpovědi IMessageSink .

Návraty

Není vrácena žádná hodnota.

Implementuje

Atributy

Poznámky

Metoda AsyncProcessMessageIMessageSink rozhraní není pro AsyncResult třídu relevantní. Implementace pomocí AsyncResult vyvolá .NotSupportedException Místo toho získejte AsyncResult přetypováním IAsyncResult rozhraní vráceného asynchronním voláním pomocí delegáta.

Platí pro