public sealed class OperationsPeriodicWorker : IPeriodicWorker,
IAsyncDisposablePublic NotInheritable Class OperationsPeriodicWorker
Implements IPeriodicWorker, IAsyncDisposablepublic ref class OperationsPeriodicWorker sealed : IPeriodicWorker,
IAsyncDisposable[<SealedAttribute>]
type OperationsPeriodicWorker =
class
interface IPeriodicWorker
interface IAsyncDisposable
end| OperationsPeriodicWorker | Создаёт экземпляр класса с указанием его зависимостей. |
| IsEnabled | Признак того, что обработчик активен. Если он не активен до первого срабатывания DoWorkAsync(CancellationToken) по таймеру, то обработчик не используется. Если он активен после этого, то дальнейшие вызовы DoWorkAsync(CancellationToken) не выполняются. Неактивный обработчик не может стать активным. |
| DisposeAsync | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously. |
| DoWorkAsync | Периодически выполняемая задача. |
| Equals | Determines whether the specified object is equal to the current object. (Унаследован от Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object) |
| GetHashCode | Serves as the default hash function. (Унаследован от Object) |
| GetNextPeriod | Возвращает период последующего выполнения действия DoWorkAsync(CancellationToken). |
| GetType | Gets the Type of the current instance. (Унаследован от Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object) |
| ToString | Returns a string that represents the current object. (Унаследован от Object) |