| 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.StatesAssembly: 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
)
<JsonConstructorAttribute>
Public Sub New (
<NotNullAttribute> parentId As String,
<NotNullAttribute> nextState As IState,
options As JobContinuationOptions,
expiration As TimeSpan
)
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