Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

Application.removeOnIdle

Removes an idle event handler previously added through addOnIdle.

Syntax

public static void removeOnIdle( EventHandler value )

Parameters

value

The com.ms.wfc.core.EventHandler delegate to remove.

Remarks

An idle event is triggered each time an application's message queue is empty. An event handler for the idle event can be defined for each thread. You can use the idle event to perform background operations and general application cleanup while a thread is in an idle state.

Note Because the application cannot process messages until the event handler for a thread's idle event returns, do not perform lengthy tasks with this method.

See Also   addOnIdle