Export (0) Print
Expand All

IMessageSink.AsyncProcessMessage Method

Asynchronously processes the given message.

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

IMessageCtrl AsyncProcessMessage (
	IMessage msg,
	IMessageSink replySink
)
IMessageCtrl AsyncProcessMessage (
	IMessage msg, 
	IMessageSink replySink
)
function AsyncProcessMessage (
	msg : IMessage, 
	replySink : IMessageSink
) : IMessageCtrl
Not applicable.

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.

Exception typeCondition

SecurityException

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

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft