Export (0) Print
Expand All

IMessageSink.AsyncProcessMessage Method

Asynchronously processes the given message.

[Visual Basic]
Function AsyncProcessMessage( _
   ByVal msg As IMessage, _
   ByVal replySink As IMessageSink _
) As IMessageCtrl
[C#]
IMessageCtrl AsyncProcessMessage(
   IMessage msg,
 IMessageSink replySink
);
[C++]
IMessageCtrl* AsyncProcessMessage(
   IMessage* msg,
 IMessageSink* replySink
);
[JScript]
function AsyncProcessMessage(
   msg : IMessage,
 replySink : IMessageSink
) : IMessageCtrl;

Parameters

msg
The message to process.
replySink
The reply sink for the reply message.

Return Value

Returns an IMessageCtrl interface that provides a way to control asynchronous messages after they have been dispatched.

Exceptions

Exception Type Condition
SecurityException The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.

Remarks

This method is invoked on the message sink by the remoting infrastructure or by a previous sink for asynchronous messages.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

IMessageSink Interface | IMessageSink Members | System.Runtime.Remoting.Messaging Namespace

Show:
© 2014 Microsoft