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

SQL Anywhere 10.0.1 » QAnywhere » QAnywhere .NET API Reference » iAnywhere.QAnywhere.WS namespace (.NET 1.0) » WSBase class

GetServiceID method Next Page

SetListener method


Sets a listener for the results of a given web service request.

Syntax

Visual Basic
Overloads Public Sub SetListener( _
ByVal requestID As String, _
ByVal listener As iAnywhere.QAnywhere.WS.WSListener _
)

C#
public void SetListener(
string requestID,
iAnywhere.QAnywhere.WS.WSListener listener
);

Parameters
Remarks

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.