AsyncResult.AsyncProcessMessage(IMessage, IMessageSink) Método

Definição

Implementa a interface IMessageSink.

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

Parâmetros

msg
IMessage

A interface IMessage da solicitação.

replySink
IMessageSink

A interface IMessageSink da resposta.

Retornos

Nenhum valor é retornado.

Implementações

Atributos

Comentários

O AsyncProcessMessage método da IMessageSink interface não é relevante para a AsyncResult classe . A implementação por AsyncResult lança um NotSupportedException. Em vez disso, obtenha um AsyncResult convertendo a IAsyncResult interface retornada por uma chamada assíncrona feita usando um delegado.

Aplica-se a