![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | ILockIsLockedByCurrentThread Method |
Returns whether this lock is locked by current thread or not.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxbool IsLockedByCurrentThread()
Function IsLockedByCurrentThread As Boolean
bool IsLockedByCurrentThread()
abstract IsLockedByCurrentThread : unit -> bool
Return Value
Type:
Boolean
if this lock is locked by current thread,
otherwise.
RemarksReturns whether this lock is locked by current thread or not.
See Also