Lightstreamer PCL (Portable Class Library) Client 3.1.0
ContentsIndexHome
PreviousUpNext
LSClient.CloseConnection Method

Closes the connection to the Server, if one is open. 

The method can be blocking; in case a connection attempt is currently in place, that attempt is completed first. See OpenConnection for details on timeout settings.  

 

C++
public: void CloseConnection();
C#
public virtual void CloseConnection();
Visual Basic
Public virtual Function CloseConnection() As void