AsyncResult.AsyncProcessMessage Method (IMessage, IMessageSink)

 
Use BaseTrue

Implements the IMessageSink interface.

Namespace:   System.Runtime.Remoting.Messaging
Assembly:  mscorlib (in mscorlib.dll)

[SecurityCriticalAttribute]
public virtual IMessageCtrl AsyncProcessMessage(
	IMessage msg,
	IMessageSink replySink
)

Parameters

msg
Type: System.Runtime.Remoting.Messaging.IMessage

The request IMessage interface.

replySink
Type: System.Runtime.Remoting.Messaging.IMessageSink

The response IMessageSink interface.

Return Value

Type: System.Runtime.Remoting.Messaging.IMessageCtrl

No value is returned.

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

.NET Framework
Available since 1.1
Return to top
Show: