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

Error Event

Show in webframe
Example 
An event that triggers when an error has occurred.
Syntax
add_error(function(sender, e))
error.add(function(sender, e))
remove_error(function(sender, e))
error.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 ContextErrorEventArgs 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