 | BackgroundJobRequeue Method (String) |
Changes state of a job with the specified
jobId
to the
EnqueuedState.
Namespace: HangfireAssembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntaxpublic static bool Requeue(
[NotNullAttribute] string jobId
)
Public Shared Function Requeue (
<NotNullAttribute> jobId As String
) As Boolean
Parameters
- jobId
- Type: SystemString
Identifier of job, whose state is being changed.
Return Value
Type:
BooleanTrue, if state change succeeded, otherwise false.
See Also