JobStoreSupport ExecuteInLock Method (String, JobStoreSupport ITransactionCallback)Quartz.NET API Documentation
Execute the given callback having aquired the given lock. Depending on the JobStore, the surrounding transaction may be assumed to be already present (managed).

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

protected abstract Object ExecuteInLock(
	string lockName,
	JobStoreSupport ITransactionCallback txCallback
)

Parameters

lockName
Type: System String
The name of the lock to aquire, for example "TRIGGER_ACCESS". If null, then no lock is aquired, but the lockCallback is still executed in a transaction.
txCallback
Type: Quartz.Impl.AdoJobStore JobStoreSupport ITransactionCallback

[Missing <param name="txCallback"/> documentation for "M:Quartz.Impl.AdoJobStore.JobStoreSupport.ExecuteInLock(System.String,Quartz.Impl.AdoJobStore.JobStoreSupport.ITransactionCallback)"]

Return Value

Type: Object

[Missing <returns> documentation for "M:Quartz.Impl.AdoJobStore.JobStoreSupport.ExecuteInLock(System.String,Quartz.Impl.AdoJobStore.JobStoreSupport.ITransactionCallback)"]

See Also