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 参考 » 用于客户端的 QAnywhere .NET (.NET 2.0)

 

ExceptionListener 委派

ExceptionListener 委派定义。将 ExceptionListener 传递给 SetExceptionListener 方法。

语法
Visual Basic
Public Delegate Sub ExceptionListener( _
   ByVal ex As QAException, _
   ByVal msg As QAMessage _
)
C#
public delegate void ExceptionListener(
   QAException ex,
   QAMessage msg
);
参数
  • ex   发生的异常。

  • msg   返回接收到的消息;如果无法构造消息,则返回空值。

另请参见