Partager via


OleComponent.IOleComponent.FDoIdle Method

Called to give a component a chance to do idle time tasks. Component may periodically call FContinueIdle; if this method returns FALSE (0), component should terminate its idle time processing and return. Simply calls through to FDoIdleCore.

Namespace:  Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Private Function FDoIdle ( _
    grfidlef As UInteger _
) As Integer Implements IOleComponent.FDoIdle
'Utilisation
Dim instance As OleComponent
Dim grfidlef As UInteger
Dim returnValue As Integer

returnValue = CType(instance, IOleComponent).FDoIdle(grfidlef)
int IOleComponent.FDoIdle(
    uint grfidlef
)
private:
virtual int FDoIdle(
    unsigned int grfidlef
) sealed = IOleComponent::FDoIdle
private abstract FDoIdle : 
        grfidlef:uint32 -> int 
private override FDoIdle : 
        grfidlef:uint32 -> int 
JScript does not support explicit interface implementations.

Parameters

  • grfidlef
    Type: System.UInt32
    A group of bit flags that indicate what type of tasks to perform (maps directly to IdleTypes.

Return Value

Type: System.Int32

Implements

IOleComponent.FDoIdle(UInt32)

Remarks

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 on while component is performing a tracking operation, component should only perform idle time tasks that it deems are appropriate to perform during tracking.

.NET Framework Security

See Also

Reference

OleComponent Class

OleComponent Members

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace