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

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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show: