Makes a parameter-less call to the Documents Service to verify a proper connection.
verifyService = function()
static verifyService(): JQueryPromise<ServiceStatus>;
A Promise object that may resolve successfully to an object of type ServiceStatus.
It is useful to call VerifyService at the startup of an application to verify that the web application has a connection to the running service.
The result ServiceStatus contains the following members:
|Time||The current date and time if the service was reached successfully.|
|IsLicenseChecked||true if a LEADTOOLS license was checked by the service successfully, otherwise false and a LEADTOOLS license could not be checked, usually, if an exception occurs while setting the license.|
|IsLicenseExpired||true if the LEADTOOLS license in the services has been expired; otherwise, false if the license is ready to be used.|
|KernelType||A string that contains the type of LEADTOOLS kernel currently used by the service, this could be "Release" or "Evaluation".|
|IsCacheAccessible||true if the cache on the service is accessible; otherwise, false.|
The members of ServiceStatus allows the developer to quickly debug issues that may occur in the service. If the value of
successfully. Otherwise, check the value of the error in ServiceError as usual.
The other members can be used to detect the type of the LEADTOOLS license set in the service code. If the IsLicenseExpired is true then other calls to the service will fail and the developer is responsible for obtaining a new license from LEADTOOLS.
If an error is returned from the method, check that IIS has an application set up for Leadtools.Documents.Service. See Document Viewer Application for more information.
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.