Compartir a través de


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

Return Value

Type: UInt32
The returned identifier of the sink.

.NET Framework Security

See Also

Reference

IVsLongIdleManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace