| BackgroundJobDelete Method (String) |
Changes state of a job with the specified
jobId
to the
DeletedState.
Namespace: HangfireAssembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax public static bool Delete(
[NotNullAttribute] string jobId
)
Public Shared Function Delete (
<NotNullAttribute> jobId As String
) As Boolean
Parameters
- jobId
- Type: SystemString
An identifier, that will be used to find a job.
Return Value
Type:
BooleanTrue on a successfull state transition, false otherwise.
See Also