GetLockCountAsync Method
GetLockCountAsync(LockContext)
Gets the reentrant lock count of the lock, for whichever context is locking it.
Declaration
Task<int> GetLockCountAsync(LockContext lockContext)
Parameters
LockContext | lockContext |
Returns
Task<int> | The reentrant lock count of the lock, or zero if it is not locked. |