IVsLongIdleManager.AdviseLongIdleEvents Method
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)
Syntax
'Declaration
Function AdviseLongIdleEvents ( _
dwIdleTimeInSeconds As UInteger, _
eventSink As IVsLongIdleEvents _
) As UInteger
uint AdviseLongIdleEvents(
uint dwIdleTimeInSeconds,
IVsLongIdleEvents eventSink
)
unsigned int AdviseLongIdleEvents(
[InAttribute] unsigned int dwIdleTimeInSeconds,
[InAttribute] IVsLongIdleEvents^ eventSink
)
abstract AdviseLongIdleEvents :
dwIdleTimeInSeconds:uint32 *
eventSink:IVsLongIdleEvents -> uint32
function AdviseLongIdleEvents(
dwIdleTimeInSeconds : uint,
eventSink : IVsLongIdleEvents
) : uint
Parameters
- dwIdleTimeInSeconds
Type: UInt32
eventSink
Type: Microsoft.VisualStudio.Shell.Interop.IVsLongIdleEventsThe event sink that is called for entering or exiting long idle state
Return Value
Type: UInt32
The returned identifier of the sink.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.