Share via


SimpleEditorView.FDoIdle Method

Called to do idle time tasks.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Overridable Function FDoIdle ( _
    grfidlef As UInteger _
) As Integer
public virtual int FDoIdle(
    uint grfidlef
)
public:
virtual int FDoIdle(
    unsigned int grfidlef
)
abstract FDoIdle : 
        grfidlef:uint32 -> int  
override FDoIdle : 
        grfidlef:uint32 -> int
public function FDoIdle(
    grfidlef : uint
) : int

Parameters

  • grfidlef
    Type: UInt32

    Flags from the _OLEIDLEF enumeration.

Return Value

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

Implements

IOleComponent.FDoIdle(UInt32)

Remarks

By default this method is not implemented, and simply returns false.

Notes to Implementers

grfidlef indicates the type of idle tasks to perform. The method [M:Microsoft.VisualStudio.OLE.Interop.IOleComponentManager.FContinueIdle()] will be called from time to time. If this method returns false, idle-time processing must terminate and return. If there are no idle tasks, idle task registration must be removed via [M:Microsoft.VisualStudio.OLE.Interop.IOleComponentManager::FUpdateComponentRegistration]. If this method is called during a tracking operation, only idle time tasks that are appropriate during tracking should be performed.

.NET Framework Security

See Also

Reference

SimpleEditorView Class

Microsoft.VisualStudio.Package Namespace