Bagikan melalui


AsyncResult.AsyncProcessMessage(IMessage, IMessageSink) Metode

Definisi

IMessageSink Mengimplementasikan antarmuka.

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

Parameter

msg
IMessage

Antarmuka permintaan IMessage .

replySink
IMessageSink

Antarmuka respons IMessageSink .

Mengembalikan

Tidak ada nilai yang dikembalikan.

Penerapan

Atribut

Keterangan

Metode AsyncProcessMessageIMessageSink antarmuka tidak relevan dengan AsyncResult kelas . Implementasi dengan AsyncResult melempar .NotSupportedException Sebagai gantinya, dapatkan AsyncResult dengan mentransmisikan IAsyncResult antarmuka yang dikembalikan oleh panggilan asinkron yang dilakukan menggunakan delegasi.

Berlaku untuk