SchedulerPeriodicWorker - класс

Работник, выполняющий запуск планировщиков.

Definition

Пространство имён: Tessa.Platform.Schedulers
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public sealed class SchedulerPeriodicWorker : IPeriodicWorker, 
	IAsyncDisposable
Inheritance
Object    SchedulerPeriodicWorker
Implements
IAsyncDisposable, IPeriodicWorker

Конструкторы

SchedulerPeriodicWorker Создаёт экземпляр класса с указанием его зависимостей.

Свойства

IsEnabled Признак того, что обработчик активен. Если он не активен до первого срабатывания DoWorkAsync(CancellationToken) по таймеру, то обработчик не используется. Если он активен после этого, то дальнейшие вызовы DoWorkAsync(CancellationToken) не выполняются. Неактивный обработчик не может стать активным.

Методы

DisposeAsyncPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
DoWorkAsync Периодически выполняемая задача.
EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetNextPeriod Возвращает период последующего выполнения действия DoWorkAsync(CancellationToken).
GetTypeGets the Type of the current instance.
(Унаследован от Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
ToStringReturns a string that represents the current object.
(Унаследован от Object)

См. также