Insert the job detail record.
Namespace: Quartz.Impl.AdoJobStore
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
public virtual Task<int> UpdateTriggerStatesFromOtherStates( ConnectionAndTransactionHolder conn, string newState, string oldState1, string oldState2, CancellationToken cancellationToken = null )
Parameters
- conn
- Type: Quartz.Impl.AdoJobStoreConnectionAndTransactionHolder
the DB Connection - newState
- Type: SystemString
the new state for the triggers - oldState1
- Type: SystemString
the first old state to update - oldState2
- Type: SystemString
the second old state to update - cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
The cancellation instruction.
Return Value
Type: TaskInt32number of rows updated
Implements
IDriverDelegateUpdateTriggerStatesFromOtherStates(ConnectionAndTransactionHolder, String, String, String, CancellationToken)See Also