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

ContextChangesCanceled Event

Show in webframe
Example 
An event that triggers to inform a participant in a common context session that a context change transaction has been canceled.
Syntax
add_contextChangesCanceled(function(sender, e))
contextChangesCanceled.add(function(sender, e))
remove_contextChangesCanceled(function(sender, e))
contextChangesCanceled.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 ContextEventArgs 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