Редагувати

Поділитися через


IClientResponseChannelSinkStack.DispatchReplyMessage(IMessage) Method

Definition

Dispatches the specified reply message on the reply sink.

public:
 void DispatchReplyMessage(System::Runtime::Remoting::Messaging::IMessage ^ msg);
public void DispatchReplyMessage (System.Runtime.Remoting.Messaging.IMessage msg);
[System.Security.SecurityCritical]
public void DispatchReplyMessage (System.Runtime.Remoting.Messaging.IMessage msg);
abstract member DispatchReplyMessage : System.Runtime.Remoting.Messaging.IMessage -> unit
[<System.Security.SecurityCritical>]
abstract member DispatchReplyMessage : System.Runtime.Remoting.Messaging.IMessage -> unit
Public Sub DispatchReplyMessage (msg As IMessage)

Parameters

msg
IMessage

The IMessage to dispatch.

Attributes

Exceptions

The immediate caller does not have infrastructure permission.

Remarks

The DispatchReplyMessage method dispatches the specified message to the server through the reply sink specified in the constructor of the current sink stack. If the current sink stack was created without a reply sink, the message is not transmitted, and no new exception is thrown.

Applies to