IJobStoreRemoveTrigger Method

Quartz.NET 3.0 API Documentation
Remove (delete) the ITrigger with the given key.

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

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

Parameters

triggerKey
Type: QuartzTriggerKey

[Missing <param name="triggerKey"/> documentation for "M:Quartz.Spi.IJobStore.RemoveTrigger(Quartz.TriggerKey,System.Threading.CancellationToken)"]

cancellationToken (Optional)
Type: System.ThreadingCancellationToken

[Missing <param name="cancellationToken"/> documentation for "M:Quartz.Spi.IJobStore.RemoveTrigger(Quartz.TriggerKey,System.Threading.CancellationToken)"]

Return Value

Type: TaskBoolean
if a ITrigger with the given name and group was found and removed from the store.
Remarks

If removal of the ITrigger results in an empty group, the group should be removed from the IJobStore's list of known group names.

If removal of the ITrigger results in an 'orphaned' IJob that is not 'durable', then the IJob should be deleted also.

See Also

Reference