Class HangfireBackgroundJobManager
Inheritance
HangfireBackgroundJobManager
Assembly: Volo.Abp.BackgroundJobs.HangFire.dll
Syntax
[Dependency(ReplaceServices = true)]
public class HangfireBackgroundJobManager : IBackgroundJobManager, ITransientDependency
Constructors
HangfireBackgroundJobManager(IOptions<AbpBackgroundJobOptions>)
Declaration
public HangfireBackgroundJobManager(IOptions<AbpBackgroundJobOptions> options)
Parameters
Properties
Options
Declaration
protected AbpBackgroundJobOptions Options { get; }
Property Value
Methods
EnqueueAsync<TArgs>(TArgs, BackgroundJobPriority, TimeSpan?)
Declaration
public virtual Task<string> EnqueueAsync<TArgs>(TArgs args, BackgroundJobPriority priority = BackgroundJobPriority.Normal, TimeSpan? delay = null)
Parameters
Returns
Type Parameters
GetQueueName(Type)
Declaration
protected virtual string GetQueueName(Type argsType)
Parameters
Type |
Name |
Description |
Type |
argsType |
|
Returns
Implements
Extension Methods