Application.addOnSystemShutdown

Overview | Methods | This Package | All Packages

Application.addOnSystemShutdown

Adds a systemShutdown event handler to the application.

Syntax

public static void addOnSystemShutdown( CancelEventHandler value )

Parameters

value

A com.ms.wfc.core.CancelEventHandler that is called before the system shuts down.

Remarks

A systemShutdown event is triggered just before the user logs off or shuts down the computer through Windows. This event can be canceled, which causes the shutdown request to be aborted. This is typically the last notice an application receives before being terminated. As a result, you should save any files that are open at the time this event occurs.

See Also   removeOnSystemShutdown