Lightstreamer PCL (Portable Class Library) Client 3.1.1
ContentsIndexHome
PreviousUpNext
LSClient.ForceUnsubscribeTable Method

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. This kind of request is not included in a batch. 

 

C++
public: void ForceUnsubscribeTable(SubscribedTableKey tableKey);
C#
public virtual void ForceUnsubscribeTable(SubscribedTableKey tableKey);
Visual Basic
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.