ISchedulerCheckExists Method (TriggerKey, CancellationToken)

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

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

C#
Task<bool> CheckExists(
	TriggerKey triggerKey,
	CancellationToken cancellationToken = null
)

Parameters

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

Return Value

Type: TaskBoolean
true if a Trigger exists with the given identifier
See Also

Reference