public sealed class ExpiredTokenPeriodicWorker : IPeriodicWorkerPublic NotInheritable Class ExpiredTokenPeriodicWorker
Implements IPeriodicWorkerpublic ref class ExpiredTokenPeriodicWorker sealed : IPeriodicWorker[<SealedAttribute>]
type ExpiredTokenPeriodicWorker =
class
interface IPeriodicWorker
end| ExpiredTokenPeriodicWorker | A worker that periodically removes expired tokens from the database. |
| IsEnabled | Признак того, что обработчик активен. Если он не активен до первого срабатывания DoWorkAsync(CancellationToken) по таймеру, то обработчик не используется. Если он активен после этого, то дальнейшие вызовы DoWorkAsync(CancellationToken) не выполняются. Неактивный обработчик не может стать активным. |
| 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) |