Update the base trigger data.
Namespace: Quartz.Impl.AdoJobStore
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
public virtual Task<int> UpdateTrigger( ConnectionAndTransactionHolder conn, IOperableTrigger trigger, string state, IJobDetail jobDetail, CancellationToken cancellationToken = null )
Parameters
- conn
- Type: Quartz.Impl.AdoJobStoreConnectionAndTransactionHolder
The DB Connection. - trigger
- Type: Quartz.SpiIOperableTrigger
The trigger to insert. - state
- Type: SystemString
The state that the trigger should be stored in. - jobDetail
- Type: QuartzIJobDetail
The job detail. - cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
The cancellation instruction.
Return Value
Type: TaskInt32The number of rows updated.
Implements
IDriverDelegateUpdateTrigger(ConnectionAndTransactionHolder, IOperableTrigger, String, IJobDetail, CancellationToken)See Also