event iAnywhere.MobiLink.Script.ShutdownCallback ShutdownListener( iAnwyhere.MobiLink.Script.ServerContext sc) Member of iAnywhere.MobiLink.Script.ServerContext
このイベントはシャットダウン時にトリガされます。次のサンプル・コードは、このイベントの使用方法のサンプルです。
ShutdownCallback callback = new ShutdownCallback(shutdownHandler); _sc.ShutdownListener += callback; public void shutdownHandler(ServerContext sc) { _test_out_file.WriteLine("shutdownPerformed"); } |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |