IJobStorePauseTriggers Method

Quartz.NET 3.0 API Documentation
Pause all of the ITriggers in the given group.

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

C#
Task<IReadOnlyCollection<string>> PauseTriggers(
	GroupMatcher<TriggerKey> matcher,
	CancellationToken cancellationToken = null
)

Parameters

matcher
Type: Quartz.Impl.MatchersGroupMatcherTriggerKey

[Missing <param name="matcher"/> documentation for "M:Quartz.Spi.IJobStore.PauseTriggers(Quartz.Impl.Matchers.GroupMatcher{Quartz.TriggerKey},System.Threading.CancellationToken)"]

cancellationToken (Optional)
Type: System.ThreadingCancellationToken

[Missing <param name="cancellationToken"/> documentation for "M:Quartz.Spi.IJobStore.PauseTriggers(Quartz.Impl.Matchers.GroupMatcher{Quartz.TriggerKey},System.Threading.CancellationToken)"]

Return Value

Type: TaskIReadOnlyCollectionString

[Missing <returns> documentation for "M:Quartz.Spi.IJobStore.PauseTriggers(Quartz.Impl.Matchers.GroupMatcher{Quartz.TriggerKey},System.Threading.CancellationToken)"]

Remarks

The JobStore should "remember" that the group is paused, and impose the pause on any new triggers that are added to the group while the group is paused.
See Also

Reference