Click or drag to resize
AwaitingState Constructor (String, IState, JobContinuationOptions, TimeSpan)
Initializes a new instance of the AwaitingState class with the specified expiration time along with other parameters.

Namespace: Hangfire.States
Assembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax
[JsonConstructorAttribute]
public AwaitingState(
	[NotNullAttribute] string parentId,
	[NotNullAttribute] IState nextState,
	JobContinuationOptions options,
	TimeSpan expiration
)

Parameters

parentId
Type: SystemString
The identifier of a background job to wait for.
nextState
Type: Hangfire.StatesIState
The next state for the continuation.
options
Type: HangfireJobContinuationOptions
Options to configure the continuation.
expiration
Type: SystemTimeSpan
The expiration time for the continuation.
See Also