IVsLongIdleManager::AdviseLongIdleEvents Method (UInt32, IVsLongIdleEvents^)

 

Subscribes to long idle events.

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

unsigned int AdviseLongIdleEvents(
	unsigned int dwIdleTimeInSeconds,
	IVsLongIdleEvents^ eventSink
)

Parameters

dwIdleTime

The time interval in seconds that must pass without any user input before the event sink is called for entering long idle. The mnimum interval is 1 minute, maximum is ~49.7 days.

eventSink
Type: Microsoft.VisualStudio.Shell.Interop::IVsLongIdleEvents^

The event sink that is called for entering or exiting long idle state

Return Value

Type: System::UInt32

The returned identifier of the sink.

Return to top
Show: