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

SQL Anywhere 11.0.0 » QAnywhere » QAnywhere API Reference » QAnywhere .NET API reference » iAnywhere.QAnywhere.WS namespace (.NET 2.0) » WSBase class


SetListener method

Sets a listener for the results of all web service requests made by this instance of WSBase.

Visual Basic
Overloads Public Sub SetListener( _
   ByVal listener As iAnywhere.QAnywhere.WS.WSListener _
public void SetListener(
   iAnywhere.QAnywhere.WS.WSListener listener
  • listener¬†¬† The listener object that gets called when the result of a web service request is available.


Listeners are typically used to get results of the asyncXYZ methods of the service.

To remove a listener, call SetListener with null as the listener.

Note: This method replaces the listener set by any previous call to SetListener.