IJobStoreGetTriggersForJob Method

Quartz.NET 3.0 API Documentation
Get all of the Triggers that are associated to the given Job.

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

C#
Task<IReadOnlyCollection<IOperableTrigger>> GetTriggersForJob(
	JobKey jobKey,
	CancellationToken cancellationToken = null
)

Parameters

jobKey
Type: QuartzJobKey

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

cancellationToken (Optional)
Type: System.ThreadingCancellationToken

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

Return Value

Type: TaskIReadOnlyCollectionIOperableTrigger

[Missing <returns> documentation for "M:Quartz.Spi.IJobStore.GetTriggersForJob(Quartz.JobKey,System.Threading.CancellationToken)"]

Remarks

If there are no matches, a zero-length array should be returned.
See Also

Reference