ShutdownListener method

Syntax
event iAnywhere.MobiLink.Script.ShutdownCallback 
  ShutdownListener(
  iAnwyhere.MobiLink.Script.ServerContext sc)
Member of iAnywhere.MobiLink.Script.ServerContext
Remarks

This event is triggered on shutdown. The following code is an example of how to use this event:

ShutdownCallback callback = new ShutdownCallback( shutdownHandler );
_sc.ShutdownListener += callback; 
public void shutdownHandler( ServerContext sc )
//===============================================
{
_test_out_file.WriteLine( "shutdownPerformed" );
}