ClientChannelSinkStack.DispatchReplyMessage(IMessage) Method

Definition

Dispatches the specified reply message on the reply sink.

public:
 virtual 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
override this.DispatchReplyMessage : System.Runtime.Remoting.Messaging.IMessage -> unit
[<System.Security.SecurityCritical>]
abstract member DispatchReplyMessage : System.Runtime.Remoting.Messaging.IMessage -> unit
override this.DispatchReplyMessage : System.Runtime.Remoting.Messaging.IMessage -> unit
Public Sub DispatchReplyMessage (msg As IMessage)

Parameters

msg
IMessage

The IMessage to dispatch.

Implements

Attributes

Remarks

The DispatchReplyMessage method dispatches the specified message to the server through the reply sink that is 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