Click or drag to resize
JobStorageConnectionAcquireDistributedLock Method

[Missing <summary> documentation for "M:Hangfire.Storage.JobStorageConnection.AcquireDistributedLock(System.String,System.TimeSpan)"]

Namespace: Hangfire.Storage
Assembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax
public abstract IDisposable AcquireDistributedLock(
	string resource,
	TimeSpan timeout
)

Parameters

resource
Type: SystemString

[Missing <param name="resource"/> documentation for "M:Hangfire.Storage.JobStorageConnection.AcquireDistributedLock(System.String,System.TimeSpan)"]

timeout
Type: SystemTimeSpan

[Missing <param name="timeout"/> documentation for "M:Hangfire.Storage.JobStorageConnection.AcquireDistributedLock(System.String,System.TimeSpan)"]

Return Value

Type: IDisposable

Implements

IStorageConnectionAcquireDistributedLock(String, TimeSpan)
See Also