SingleTaskIdleManager::IOleComponent::FDoIdle Method (UInt32)

 

Gives the component a chance to do idle time tasks.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

private:
virtual int FDoIdle(
	unsigned int grfidlef
) sealed = IOleComponent::FDoIdle

Parameters

grfidlef
Type: System::UInt32

A set of flags indicating the type of idle tasks to perform, from _OLEIDLEF.

Return Value

Type: System::Int32

true if more time is needed to perform the idle time tasks, false otherwise.

The component may periodically call FContinueIdle; if this method returns false, the component should terminate its idle time processing and return.

If a component reaches a point where it has no idle tasks and does not need FDoIdle calls, it should remove its idle task registration via FUpdateComponentRegistration.

If this method is called while the component is performing a tracking operation, the component should perform only those idle time tasks that are appropriate during tracking.

Return to top
Show: