System.Runtime.Remoting.Messaging.AsyncResult.AsyncProcessMessage Method

Implements the System.Runtime.Remoting.Messaging.IMessageSink interface.

Syntax

public virtual IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)

Parameters

msg
The request System.Runtime.Remoting.Messaging.IMessage interface.
replySink
The response System.Runtime.Remoting.Messaging.IMessageSink interface.

Returns

No value is returned.

Remarks

The AsyncResult.AsyncProcessMessage(IMessage, IMessageSink) method of the System.Runtime.Remoting.Messaging.IMessageSink interface is not relevant to the System.Runtime.Remoting.Messaging.AsyncResult class. Implementation by System.Runtime.Remoting.Messaging.AsyncResult throws a NotSupportedException. Instead, obtain an System.Runtime.Remoting.Messaging.AsyncResult by casting the IAsyncResult interface returned by an asynchronous call made using a delegate.

Requirements

Namespace: System.Runtime.Remoting.Messaging
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0