QuartzSchedulerCheckExists Method (JobKey, CancellationToken)

Quartz.NET 3.0 API Documentation
Determine whether a IJob with the given identifier already exists within the scheduler.

Namespace:  Quartz.Core
Assembly:  Quartz (in Quartz.dll) Version: 3.0.0
Syntax

C#
public virtual Task<bool> CheckExists(
	JobKey jobKey,
	CancellationToken cancellationToken = null
)

Parameters

jobKey
Type: QuartzJobKey
the identifier to check for
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation instruction.

Return Value

Type: TaskBoolean
true if a Job exists with the given identifier

Implements

IRemotableQuartzSchedulerCheckExists(JobKey, CancellationToken)
Remarks

See Also

Reference