C# Class Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation.Timer.Timer

The timer implementation.
Inheritance: ITimer, IDisposable
ファイルを表示 Open project: Microsoft/ApplicationInsights-dotnet-server

Public Methods

Method Description
Dispose ( ) : void

Disposes resources allocated by this type.

ScheduleNextTick ( System.TimeSpan dueTime ) : void

Changes the timer's parameters.

Stop ( ) : void

Stops the timer.

Timer ( TimerCallback callback ) : System

Initializes a new instance of the Timer class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Dispose implementation.

Method Details

Dispose() public method

Disposes resources allocated by this type.
public Dispose ( ) : void
return void

Dispose() protected method

Dispose implementation.
protected Dispose ( bool disposing ) : void
disposing bool
return void

ScheduleNextTick() public method

Changes the timer's parameters.
public ScheduleNextTick ( System.TimeSpan dueTime ) : void
dueTime System.TimeSpan The due time.
return void

Stop() public method

Stops the timer.
public Stop ( ) : void
return void

Timer() public method

Initializes a new instance of the Timer class.
public Timer ( TimerCallback callback ) : System
callback TimerCallback The callback.
return System