[This is preliminary documentation and is subject to change.]
Checks whether the session exists. This function can be called
periodically to make sure that the session has not timed out.
If the session does not exists, most web service calls will fail
unless the session is recreated.
Namespace:
�OfficeClip.Service.WebAssembly: �OfficeClip.Service (in OfficeClip.Service)
Version: 8.1.1.0
Syntax
C# |
---|
public bool IsSessionExists() |
Visual Basic (Declaration) |
---|
Public Function IsSessionExists As Boolean |
Visual C++ |
---|
public: bool IsSessionExists() |
Return Value
true if the session exists, false otherwiseExamples
CopyTest if the session exists
public static void IsSessionExists( WebServiceClient.Generic.OfficeClipGeneric ofg ) { try { bool exists = ofg.IsSessionExists(); Console.WriteLine((exists) ? "Session Found" : "Session could not be found"); } catch (SoapException ex) { Console.WriteLine(ex.Message); } }