Interface IHangfireBackgroundWorker
Assembly: Volo.Abp.BackgroundWorkers.Hangfire.dll
Syntax
public interface IHangfireBackgroundWorker : IBackgroundWorker, IRunnable, ISingletonDependency
Properties
CronExpression
Declaration
string CronExpression { get; set; }
Property Value
Queue
Declaration
string Queue { get; set; }
Property Value
RecurringJobId
Declaration
string? RecurringJobId { get; set; }
Property Value
TimeZone
Declaration
TimeZoneInfo? TimeZone { get; set; }
Property Value
Type |
Description |
System.TimeZoneInfo |
|
Methods
DoWorkAsync(CancellationToken)
Declaration
Task DoWorkAsync(CancellationToken cancellationToken = default)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Extension Methods