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

CommonContextTerminated Event

Show in webframe
Example 
An event that triggers to inform a participant in a common context session that the session is being terminated.
Syntax
add_commonContextTerminated(function(sender, e))
commonContextTerminated.add(function(sender, e))
remove_commonContextTerminated(function(sender, e))
commonContextTerminated.remove(function(sender, e))
    
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;
}
Event Data
Parameter Type Description
sender 'var' The source of the event.
e EventHandler The event data.
See Also

Reference

ClientContext Object
ClientContext Members

Error processing SSI file

 

 

Requirements

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