AwaitingState Class |
Namespace: Hangfire.States
The AwaitingState type exposes the following members.
Name | Description | |
---|---|---|
AwaitingState(String) |
Initializes a new instance of the AwaitingState class with
the specified parent background job id and with an instance of the
EnqueuedState class as a next state.
| |
AwaitingState(String, IState) |
Initializes a new instance of the AwaitingState class with
the specified parent job id and next state.
| |
AwaitingState(String, IState, JobContinuationOptions) |
Initializes a new instance of the AwaitingState class with
the given options along with other parameters.
| |
AwaitingState(String, IState, JobContinuationOptions, TimeSpan) |
Initializes a new instance of the AwaitingState class with
the specified expiration time along with other parameters.
|
Name | Description | |
---|---|---|
Expiration |
Gets the expiration time of a background job continuation.
| |
IgnoreJobLoadException |
Gets whether transition to this state should ignore job de-serialization
exceptions.
| |
IsFinal |
Gets if the current state is a final one.
| |
Name |
Gets the unique name of the state.
| |
NextState |
Gets the next state, to which a background job will be moved.
| |
Options |
Gets the continuation options associated with the current state.
| |
ParentId |
Gets the identifier of a parent background job.
| |
Reason |
Gets the human-readable reason of a state transition.
|
Name | Description | |
---|---|---|
SerializeData |
Gets a serialized representation of the current state.
|
Background job in AwaitingState is referred as a continuation of a background job with ParentId.