Check whether or not the given job is stateful.
Namespace: Quartz.Impl.AdoJobStore
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
public virtual Task<bool> IsJobStateful( ConnectionAndTransactionHolder conn, JobKey jobKey, CancellationToken cancellationToken = null )
Parameters
- conn
- Type: Quartz.Impl.AdoJobStoreConnectionAndTransactionHolder
the DB Connection - jobKey
- Type: QuartzJobKey
The key identifying the job. - cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
The cancellation instruction.
Return Value
Type: TaskBooleantrue if the job exists and is stateful, false otherwise
Implements
IDriverDelegateIsJobStateful(ConnectionAndTransactionHolder, JobKey, CancellationToken)See Also