Compartir a través de


AsyncResult.AsyncProcessMessage(IMessage, IMessageSink) Método

Definición

Implementa la interfaz 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

Interfaz IMessage de solicitud.

replySink
IMessageSink

Interfaz IMessageSink de respuesta.

Devoluciones

No se devuelve ningún valor.

Implementaciones

Atributos

Comentarios

El AsyncProcessMessage método de la IMessageSink interfaz no es relevante para la AsyncResult clase . La implementación de AsyncResult inicia una NotSupportedExceptionexcepción . En su lugar, obtenga un AsyncResult mediante la conversión de la IAsyncResult interfaz devuelta por una llamada asincrónica realizada mediante un delegado.

Se aplica a