Export (0) Print
Expand All

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
[C#]
public static IMessage SyncDispatchMessage(
 IMessage msg
);
[C++]
public: static IMessage* SyncDispatchMessage(
 IMessage* msg
);
[JScript]
public static function SyncDispatchMessage(
   msg : IMessage
) : IMessage;

Parameters

msg
The message to dispatch.

Return Value

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

Exceptions

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

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

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

Show:
© 2014 Microsoft