Share via


IVsLongIdleManager.AdviseLongIdleEvents(UInt32, IVsLongIdleEvents) Method

Definition

Subscribes to long idle events.

public:
 System::UInt32 AdviseLongIdleEvents(System::UInt32 dwIdleTimeInSeconds, Microsoft::VisualStudio::Shell::Interop::IVsLongIdleEvents ^ eventSink);
public:
 unsigned int AdviseLongIdleEvents(unsigned int dwIdleTimeInSeconds, Microsoft::VisualStudio::Shell::Interop::IVsLongIdleEvents ^ eventSink);
unsigned int AdviseLongIdleEvents(unsigned int dwIdleTimeInSeconds, Microsoft::VisualStudio::Shell::Interop::IVsLongIdleEvents const & eventSink);
public uint AdviseLongIdleEvents (uint dwIdleTimeInSeconds, Microsoft.VisualStudio.Shell.Interop.IVsLongIdleEvents eventSink);
abstract member AdviseLongIdleEvents : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsLongIdleEvents -> uint32
Public Function AdviseLongIdleEvents (dwIdleTimeInSeconds As UInteger, eventSink As IVsLongIdleEvents) As UInteger

Parameters

dwIdleTimeInSeconds
UInt32
eventSink
IVsLongIdleEvents

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

Returns

The returned identifier of the sink.

Applies to