IVsLongIdleManager.AdviseLongIdleEvents(UInt32, IVsLongIdleEvents) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.