C# Класс System.Timers.Timer

Наследование: System.Windows.Threading.DispatcherTimer
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
MyTimerCallback void
UpdateTimer void

Открытые методы

Метод Описание
BeginInit ( ) : void

Notifies the object that initialization is beginning and tells it to stand by.

Close ( ) : void

Disposes of the resources (other than memory) used by the .

EndInit ( ) : void

Notifies the object that initialization is complete.

Start ( ) : void

Starts the timing by setting to .

Stop ( ) : void

Stops the timing by setting to .

Timer ( ) : System.Threading

Initializes a new instance of the class, with the properties set to initial values.

Timer ( double interval ) : System.Threading

Initializes a new instance of the class, setting the property to the specified period.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
MyTimerCallback ( object state ) : void
UpdateTimer ( ) : void

Описание методов

BeginInit() публичный Метод

Notifies the object that initialization is beginning and tells it to stand by.

public BeginInit ( ) : void
Результат void

Close() публичный Метод

Disposes of the resources (other than memory) used by the .

public Close ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

EndInit() публичный Метод

Notifies the object that initialization is complete.

public EndInit ( ) : void
Результат void

Start() публичный Метод

Starts the timing by setting to .

public Start ( ) : void
Результат void

Stop() публичный Метод

Stops the timing by setting to .

public Stop ( ) : void
Результат void

Timer() публичный Метод

Initializes a new instance of the class, with the properties set to initial values.

public Timer ( ) : System.Threading
Результат System.Threading

Timer() публичный Метод

Initializes a new instance of the class, setting the property to the specified period.

public Timer ( double interval ) : System.Threading
interval double
Результат System.Threading