Lock

Type representing a Lock that has definitely been acquired. Locks are IDisposable; disposing the lock will ensure it is released.

Union Cases

Union CaseDescription
Environment(...)
Signature: string * string * Hashed * Hashed * Hashed * Guid

A lock scoped to a particular environment belonging to a particular organisation

Global(...)
Signature: string * string * Hashed * Guid

A lock that applies globally across the lock server

Organisation(...)
Signature: string * string * Hashed * Hashed * Guid

A lock scoped to a specific organisation

Instance members

Instance memberDescription
Dispose()
Signature: unit -> unit

Disposing releases the lock

LockId
Signature: string

The LockId acquired. Useful in combination when getting one of a list of locks to determine which was free.

Fork me on GitHub