Compartilhar via


OnIdleHandler Delegate

A delegate used by the SingleTaskIdleManager class. When you create an instance of the SingleTaskIdleManager class, you pass in this delegate, which is then called at idle time.

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

Syntax

'Declaration
Public Delegate Function OnIdleHandler As IEnumerable
public delegate IEnumerable OnIdleHandler()
public delegate IEnumerable^ OnIdleHandler()
type OnIdleHandler = 
    delegate of unit -> IEnumerable
JScript does not support delegates.

Return Value

Type: IEnumerable

See Also

Reference

Microsoft.VisualStudio.Shell Namespace