![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | ILockTryLock Method |
Tries to acquires the lock and returns immediately.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.3
SyntaxFunction TryLock As Boolean
abstract TryLock : unit -> bool
Return Value
Type:
Booleantrue if acquires the lock,
false otherwise.
See Also