ChannelServices.SyncDispatchMessage Method (IMessage)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Synchronously dispatches the incoming 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)

[<SecurityCriticalAttribute>]
static member SyncDispatchMessage : 
        msg:IMessage -> IMessage

Parameters

msg
Type: System.Runtime.Remoting.Messaging.IMessage

The message to dispatch.

Return Value

Type: System.Runtime.Remoting.Messaging.IMessage

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

Exception Condition
ArgumentNullException

The msg parameter is null.

SecurityException

The immediate caller does not have infrastructure permission.

No code example is currently available or this language may not be supported.

SecurityPermission

For operating with infrastructure code. Demand value: SecurityAction.LinkDemand; Permission value: SecurityPermissionFlag.Infrastructure

.NET Framework
Available since 1.1
Return to top
Show: