Application.removeOnSystemShutdown

Overview | Methods | This Package | All Packages

Application.removeOnSystemShutdown

Removes a systemShutdown event handler from the application that was previously added with addOnSystemShutdown.

Syntax

public static void removeOnSystemShutdown( CancelEventHandler value )

Parameters

value

A com.ms.wfc.core.CancelEventHandler delegate to remove.

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 when this event occurs.