JobStoreSupportStoreTrigger Method (IOperableTrigger, Boolean, CancellationToken)

Quartz.NET 3.0 API Documentation
Store the given ITrigger.

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

C#
public Task StoreTrigger(
	IOperableTrigger newTrigger,
	bool replaceExisting,
	CancellationToken cancellationToken = null
)

Parameters

newTrigger
Type: Quartz.SpiIOperableTrigger
The ITrigger to be stored.
replaceExisting
Type: SystemBoolean
If , any ITrigger existing in the IJobStore with the same name & group should be over-written.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation instruction.

Return Value

Type: Task

[Missing <returns> documentation for "M:Quartz.Impl.AdoJobStore.JobStoreSupport.StoreTrigger(Quartz.Spi.IOperableTrigger,System.Boolean,System.Threading.CancellationToken)"]

Implements

IJobStoreStoreTrigger(IOperableTrigger, Boolean, CancellationToken)
Exceptions

ExceptionCondition
ObjectAlreadyExistsException if a ITrigger with the same name/group already exists, and replaceExisting is set to false.
See Also

Reference