Class HangfireBackgroundWorkerBase
Inheritance
object
HangfireBackgroundWorkerBase
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.BackgroundWorkers.Hangfire
Assembly: Volo.Abp.BackgroundWorkers.Hangfire.dll
Syntax
public abstract class HangfireBackgroundWorkerBase : BackgroundWorkerBase, IHangfireBackgroundWorker, IBackgroundWorker, IRunnable, ISingletonDependency
Constructors
HangfireBackgroundWorkerBase()
Declaration
protected HangfireBackgroundWorkerBase()
Properties
CronExpression
Declaration
public string CronExpression { get; set; }
Property Value
Type | Description |
---|---|
string |
Queue
Declaration
public string Queue { get; set; }
Property Value
Type | Description |
---|---|
string |
RecurringJobId
Declaration
public string? RecurringJobId { get; set; }
Property Value
Type | Description |
---|---|
string |
TimeZone
Declaration
public TimeZoneInfo? TimeZone { get; set; }
Property Value
Type | Description |
---|---|
System.TimeZoneInfo |
Methods
DoWorkAsync(CancellationToken)
Declaration
public abstract Task DoWorkAsync(CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |