Click or drag to resize
RecurringJobScheduler Constructor (IBackgroundJobFactory)
Initializes a new instance of the RecurringJobScheduler class with custom background job factory.

Namespace: Hangfire.Server
Assembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax
public RecurringJobScheduler(
	[NotNullAttribute] IBackgroundJobFactory factory
)

Parameters

factory
Type: Hangfire.ClientIBackgroundJobFactory
Factory that will be used to create background jobs.
Exceptions
ExceptionCondition
ArgumentNullExceptionfactory is null.
See Also