Class HangfireJobExecutionAdapter<TArgs>
Inheritance
HangfireJobExecutionAdapter<TArgs>
Assembly: Volo.Abp.BackgroundJobs.HangFire.dll
Syntax
public class HangfireJobExecutionAdapter<TArgs>
Type Parameters
Constructors
HangfireJobExecutionAdapter(IOptions<AbpBackgroundJobOptions>, IBackgroundJobExecuter, IServiceScopeFactory)
Declaration
public HangfireJobExecutionAdapter(IOptions<AbpBackgroundJobOptions> options, IBackgroundJobExecuter jobExecuter, IServiceScopeFactory serviceScopeFactory)
Parameters
Properties
JobExecuter
Declaration
protected IBackgroundJobExecuter JobExecuter { get; }
Property Value
Options
Declaration
protected AbpBackgroundJobOptions Options { get; }
Property Value
ServiceScopeFactory
Declaration
protected IServiceScopeFactory ServiceScopeFactory { get; }
Property Value
Methods
ExecuteAsync(string, TArgs, CancellationToken)
Declaration
public Task ExecuteAsync(string queue, TArgs args, CancellationToken cancellationToken = default)
Parameters
Returns
Extension Methods