Muokkaa

Jaa


ClientChannelSinkStack.DispatchException(Exception) Method

Definition

Dispatches the specified exception on the reply sink.

public:
 virtual void DispatchException(Exception ^ e);
public void DispatchException (Exception e);
[System.Security.SecurityCritical]
public void DispatchException (Exception e);
abstract member DispatchException : Exception -> unit
override this.DispatchException : Exception -> unit
[<System.Security.SecurityCritical>]
abstract member DispatchException : Exception -> unit
override this.DispatchException : Exception -> unit
Public Sub DispatchException (e As Exception)

Parameters

e
Exception

The exception to dispatch to the server.

Implements

Attributes

Remarks

The DispatchException method dispatches the specified exception 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 exception is not transmitted, and no new exception is thrown.

Applies to