Skip to content

IJobShard.RemoveJobAsync(string, CancellationToken)

RemoveJobAsync(string, CancellationToken)

abstract
public abstract Task<DurableJobMutationResult> RemoveJobAsync(string jobId, CancellationToken cancellationToken)
Removes a durable job from this shard.

Parameters

jobIdstring
The unique identifier of the job to remove.
cancellationTokenCancellationToken
A token to cancel the operation.

Returns

A task containing the durable mutation outcome.