Lightstreamer .Net Client 2.1.2
|
Tries to unsubscribe from a table for which a previous unsubscribe has been called but an exception has been received. In this case, a zombie subscription may have remained in the Server. This call does not affect client behavior, but the client can try it in order to force a new server side unsubscription attempt. If the call succeeds, a zombie subscription has been indeed eliminated.
The method is blocking; it returns only after receiving the Server answer upon the request submission. See OpenConnection for details on timeout settings. This kind of request is not included in a batch.
public: void ForceUnsubscribeTable(SubscribedTableKey tableKey);
public virtual void ForceUnsubscribeTable(SubscribedTableKey tableKey);
Public virtual Function ForceUnsubscribeTable(tableKey As SubscribedTableKey) As void
Parameters |
Description |
SubscribedTableKey tableKey |
Handle to a table as returned by a subscribe* call. |
Exceptions |
Description |
if the connection has already been closed or the supplied table is currently subscribed. In this case, there wasn't a zombie subscription in the Server for the supplied table. | |
in case of connection problems. In this case, nothing has changed in the Server. | |
in case of errors in the supplied parameters or in Server answer. In this case there wasn't a zombie subscription in the Server for the supplied table. |