IMultiMapTKey, TValueTryLock Method (TKey)Hazelcast .Net Client Class Library
Tries to acquire the lock for the specified key.

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

bool TryLock(
	TKey key
)

Parameters

key
Type: TKey
key to lock.

Return Value

Type: Boolean
true if lock is acquired, false otherwise.
See Also

Reference