This documentation is archived and is not being maintained.

ChannelServices.SyncDispatchMessage Method

Synchronously dispatches the incoming message to the server-side chain(s) based on the URI embedded in the message.

[Visual Basic]
Public Shared Function SyncDispatchMessage( _
   ByVal msg As IMessage _
) As IMessage
public static IMessage SyncDispatchMessage(
 IMessage msg
public: static IMessage* SyncDispatchMessage(
 IMessage* msg
public static function SyncDispatchMessage(
   msg : IMessage
) : IMessage;


The message to dispatch.

Return Value

A reply message is returned by the call to the server-side chain.


Exception Type Condition
ArgumentNullException The msg parameter is a null reference (Nothing in Visual Basic).
SecurityException The immediate caller does not have infrastructure permission.


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

ChannelServices Class | ChannelServices Members | System.Runtime.Remoting.Channels Namespace