GetLockAsync Method GetLockAsync(string) Gets an IFencedLock distributed object. Declaration Task<IFencedLock> GetLockAsync(string name) Parameters string name The unique name of the fenced lock. Returns Task<IFencedLock>