Class HangfireBackgroundJobManager
Inheritance
System.Object
HangfireBackgroundJobManager
Namespace: Volo.Abp.BackgroundJobs.Hangfire
Assembly: Volo.Abp.BackgroundJobs.HangFire.dll
Syntax
public class HangfireBackgroundJobManager : object, IBackgroundJobManager, ITransientDependency
Methods
EnqueueAsync<TArgs>(TArgs, BackgroundJobPriority, Nullable<TimeSpan>)
Declaration
public virtual Task<string> EnqueueAsync<TArgs>(TArgs args, BackgroundJobPriority priority = default(BackgroundJobPriority), TimeSpan? delay = null)
Parameters
| Type | Name | Description |
|---|---|---|
| TArgs | args | |
| BackgroundJobPriority | priority | |
| System.Nullable<TimeSpan> | delay |
Returns
| Type | Description |
|---|---|
| Task<System.String> |
Type Parameters
| Name | Description |
|---|---|
| TArgs |
Implements
ITransientDependency