Release the lock on the identified resource if it is held by the calling
thread.
Namespace: Quartz.Impl.AdoJobStore
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
public Task ReleaseLock( Guid requestorId, string lockName, CancellationToken cancellationToken = null )
Parameters
- requestorId
- Type: SystemGuid
[Missing <param name="requestorId"/> documentation for "M:Quartz.Impl.AdoJobStore.DBSemaphore.ReleaseLock(System.Guid,System.String,System.Threading.CancellationToken)"]
- lockName
- Type: SystemString
[Missing <param name="lockName"/> documentation for "M:Quartz.Impl.AdoJobStore.DBSemaphore.ReleaseLock(System.Guid,System.String,System.Threading.CancellationToken)"]
- cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
[Missing <param name="cancellationToken"/> documentation for "M:Quartz.Impl.AdoJobStore.DBSemaphore.ReleaseLock(System.Guid,System.String,System.Threading.CancellationToken)"]
Return Value
Type: Task[Missing <returns> documentation for "M:Quartz.Impl.AdoJobStore.DBSemaphore.ReleaseLock(System.Guid,System.String,System.Threading.CancellationToken)"]
Implements
ISemaphoreReleaseLock(Guid, String, CancellationToken)See Also