Error processing SSI file
LEADTOOLS Medical (Leadtools.Ccow assembly)

ClientContext Constructor (ClientContext)

Show in webframe
Example 
A ICcowServiceLocator object.
A succinct string that contains the application id.
Initializes a new instance of the ContextEventArgs class.
Syntax
function ClientContext( 
   serviceLocator ,
   id 
)

Parameters

ParameterTypeDescription
serviceLocatorICcowServiceLocatorA ICcowServiceLocator object.
idstringA succinct string that contains the application id.
Example
function initializeClientContextTest(clientService, appName) {
   // Create a client context, and register context events
   var ccowClientContext = new lt.Ccow.ClientContext(clientService, appName);
   ccowClientContext.contextChangesPending.add(function (sender, e) {
      console.log("contextChangesPending");
   });
   ccowClientContext.contextChangesCanceled.add(function (sender, e) {
      console.log("contextChangesCanceled");
   });
   ccowClientContext.contextChangesAccepted.add(function (sender, e) {
      console.log("contextChangesAccepted");
      console.log("contextCoupon:" + e.contextCoupon);
   });
   ccowClientContext.commonContextTerminated.add(function (sender, e) {
      console.log("commonContextTerminated");
   });
   ccowClientContext.error.add(function (sender, e) {
      console.log(e.error);
   });

   return ccowClientContext;
}
See Also

Reference

ClientContext Object
ClientContext Members

Error processing SSI file

 

 

Requirements

Target Platforms

  Leadtools.Ccow requires a Medical toolkit server license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features