Class PeriodicBackgroundWorkerBase
Inheritance
PeriodicBackgroundWorkerBase
Assembly: Volo.Abp.BackgroundWorkers.dll
Syntax
public abstract class PeriodicBackgroundWorkerBase : BackgroundWorkerBase, IBackgroundWorker, IRunnable, ISingletonDependency
Constructors
PeriodicBackgroundWorkerBase(AbpTimer, IServiceScopeFactory)
Declaration
protected PeriodicBackgroundWorkerBase(AbpTimer timer, IServiceScopeFactory serviceScopeFactory)
Parameters
Properties
ServiceScopeFactory
Declaration
protected IServiceScopeFactory ServiceScopeFactory { get; }
Property Value
Timer
Declaration
protected AbpTimer Timer { get; }
Property Value
Methods
DoWork(PeriodicBackgroundWorkerContext)
Declaration
protected abstract void DoWork(PeriodicBackgroundWorkerContext workerContext)
Parameters
StartAsync(CancellationToken)
Declaration
public override Task StartAsync(CancellationToken cancellationToken = default)
Parameters
Returns
Overrides
StopAsync(CancellationToken)
Declaration
public override Task StopAsync(CancellationToken cancellationToken = default)
Parameters
Returns
Overrides
Implements
Extension Methods