Click or drag to resize
BackgroundJobDelete Method (String)
Changes state of a job with the specified jobId to the DeletedState.

Namespace: Hangfire
Assembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax
public static bool Delete(
	[NotNullAttribute] string jobId
)

Parameters

jobId
Type: SystemString
An identifier, that will be used to find a job.

Return Value

Type: Boolean
True on a successfull state transition, false otherwise.
See Also