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.AdoJobStoreAssembly: Quartz (in Quartz.dll) Version: 1.0.3.3
Syntax
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