AsyncResult.AsyncProcessMessage Method (IMessage, IMessageSink)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Use BaseTrue

Implements the IMessageSink interface.

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

Public Overridable Function AsyncProcessMessage (
	msg As IMessage,
	replySink As IMessageSink
) As IMessageCtrl


Type: System.Runtime.Remoting.Messaging.IMessage

The request IMessage interface.

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