ILockIsLockedByCurrentThread Method Hazelcast .Net Client Class Library
Returns whether this lock is locked by current thread or not.

Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.7.1
Syntax

bool IsLockedByCurrentThread()

Return Value

Type: Boolean
true
if this lock is locked by current thread,
false
otherwise.
Remarks

Returns whether this lock is locked by current thread or not.
See Also

Reference