Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » QAnywhere » QAnywhere 参考 » QAnywhere .NET API 参考 » 用于 Web 服务的 QAnywhere .NET (.NET 2.0) » WSListener 接口

 

OnException 方法

在处理异步 Web 服务请求的结果期间出现异常时调用。

语法
Visual Basic
Public Sub OnException( _
   ByVal e As iAnywhere.QAnywhere.WS.WSException, _
   ByVal wsResult As iAnywhere.QAnywhere.WS.WSResult _
)
C#
public void OnException(
   iAnywhere.QAnywhere.WS.WSException e,
   iAnywhere.QAnywhere.WS.WSResult wsResult
);
参数
  • e   处理结果期间发生的 WSException。

  • wsResult   可从中获取请求 ID 的 WSResult。此 WSResult 的值未定义。