Class BackgroundWorkerBase
Inheritance
BackgroundWorkerBase
Assembly: Volo.Abp.BackgroundWorkers.dll
Syntax
public abstract class BackgroundWorkerBase : IBackgroundWorker, IRunnable, ISingletonDependency
Constructors
BackgroundWorkerBase()
Declaration
public BackgroundWorkerBase()
Properties
LazyServiceProvider
Declaration
public IAbpLazyServiceProvider LazyServiceProvider { get; set; }
Property Value
Logger
Declaration
protected ILogger Logger { get; }
Property Value
LoggerFactory
Declaration
protected ILoggerFactory LoggerFactory { get; }
Property Value
ServiceProvider
Declaration
public IServiceProvider ServiceProvider { get; set; }
Property Value
StoppingToken
Declaration
protected CancellationToken StoppingToken { get; set; }
Property Value
StoppingTokenSource
Declaration
protected CancellationTokenSource StoppingTokenSource { get; set; }
Property Value
Methods
StartAsync(CancellationToken)
Declaration
public virtual Task StartAsync(CancellationToken cancellationToken = default)
Parameters
Returns
StopAsync(CancellationToken)
Declaration
public virtual Task StopAsync(CancellationToken cancellationToken = default)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods