JobStoreSupportCheckBlockedState Method

Quartz.NET 3.0 API Documentation
Determines if a Trigger for the given job should be blocked. State can only transition to StatePausedBlocked/StateBlocked from StatePaused/StateWaiting respectively.

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

C#
protected virtual Task<string> CheckBlockedState(
	ConnectionAndTransactionHolder conn,
	JobKey jobKey,
	string currentState,
	CancellationToken cancellationToken = null
)

Parameters

conn
Type: Quartz.Impl.AdoJobStoreConnectionAndTransactionHolder

[Missing <param name="conn"/> documentation for "M:Quartz.Impl.AdoJobStore.JobStoreSupport.CheckBlockedState(Quartz.Impl.AdoJobStore.ConnectionAndTransactionHolder,Quartz.JobKey,System.String,System.Threading.CancellationToken)"]

jobKey
Type: QuartzJobKey

[Missing <param name="jobKey"/> documentation for "M:Quartz.Impl.AdoJobStore.JobStoreSupport.CheckBlockedState(Quartz.Impl.AdoJobStore.ConnectionAndTransactionHolder,Quartz.JobKey,System.String,System.Threading.CancellationToken)"]

currentState
Type: SystemString

[Missing <param name="currentState"/> documentation for "M:Quartz.Impl.AdoJobStore.JobStoreSupport.CheckBlockedState(Quartz.Impl.AdoJobStore.ConnectionAndTransactionHolder,Quartz.JobKey,System.String,System.Threading.CancellationToken)"]

cancellationToken (Optional)
Type: System.ThreadingCancellationToken

[Missing <param name="cancellationToken"/> documentation for "M:Quartz.Impl.AdoJobStore.JobStoreSupport.CheckBlockedState(Quartz.Impl.AdoJobStore.ConnectionAndTransactionHolder,Quartz.JobKey,System.String,System.Threading.CancellationToken)"]

Return Value

Type: TaskString
StatePausedBlocked, StateBlocked, or the currentState.
See Also

Reference