แก้ไข

แชร์ผ่าน


IClientResponseChannelSinkStack.DispatchException(Exception) Method

Definition

Dispatches the specified exception on the reply sink.

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

Parameters

e
Exception

The exception to dispatch to the server.

Attributes

Exceptions

The immediate caller does not have infrastructure permission.

Remarks

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

Applies to