ClientChannelSinkStack.DispatchException(Exception) 方法
定义
调度答复接收器上的指定异常。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)
参数
要调度到服务器的异常。The exception to dispatch to the server.
实现
- 属性
注解
DispatchException方法通过当前接收器堆栈的构造函数中指定的答复接收器,将指定的异常调度到服务器。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.