Nevron .NET Vision
Nevron.Chart Namespace / NTimerService Class / RegisterObserver Method


In This Topic
    RegisterObserver Method (NTimerService)
    In This Topic
    Registers a timer with the specified tick interval
    Syntax
    'Declaration
     
    
    Public Sub RegisterObserver( _
       ByVal timeInterval As System.Integer, _
       ByVal createNew As System.Boolean, _
       ByVal observer As INTimerObserver _
    ) 
    'Usage
     
    
    Dim instance As NTimerService
    Dim timeInterval As System.Integer
    Dim createNew As System.Boolean
    Dim observer As INTimerObserver
     
    instance.RegisterObserver(timeInterval, createNew, observer)
    public void RegisterObserver( 
       System.int timeInterval,
       System.bool createNew,
       INTimerObserver observer
    )

    Parameters

    timeInterval
    createNew
    observer

    Return Value

    Handle to the timer
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also