ChannelServices.AsyncDispatchMessage Method
.NET Framework 3.0
Asynchronously dispatches the given message to the server-side chain(s) based on the URI embedded in the message.
Namespace: System.Runtime.Remoting.Channels
Assembly: mscorlib (in mscorlib.dll)
Assembly: mscorlib (in mscorlib.dll)
public static IMessageCtrl AsyncDispatchMessage ( IMessage msg, IMessageSink replySink )
public static function AsyncDispatchMessage ( msg : IMessage, replySink : IMessageSink ) : IMessageCtrl
Not applicable.
Parameters
- msg
The message to dispatch.
- replySink
The sink that will process the return message if it is not a null reference (Nothing in Visual Basic).
Return Value
A IMessageCtrl object used to control the asynchronously dispatched message.- SecurityPermission For operating with infrastructure code. Demand value: SecurityAction.LinkDemand; Permission value: SecurityPermissionFlag.Infrastructure
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.