Click or drag to resize
IStorageConnectionAcquireDistributedLock Method

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

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

Parameters

resource
Type: SystemString

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

timeout
Type: SystemTimeSpan

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

Return Value

Type: IDisposable
See Also