Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AsyncResult::AsyncProcessMessage Method (IMessage^, IMessageSink^)

 
Use BaseTrue

Implements the IMessageSink interface.

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

public:
[SecurityCriticalAttribute]
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:
© 2017 Microsoft