public static SetCloseHandler ( System.Action handler ) : void | ||
handler | System.Action | |
return | void |
public static void SetCloseHandler(Action handler)
{
SetConsoleCtrlHandler(new HandlerRoutine(ConsoleCtrlCheck), true);
s_handler = handler;
}