Acquires a permit, if one is available and returns immediately,
reducing the number of available permits by one.
Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.8.2
Syntax
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | if hazelcast instance is shutdown while waiting |
Remarks
- Some other thread invokes one of the Release() methods for this semaphore and the current thread is next to be assigned a permit;
- This ISemaphore instance is destroyed; or
See Also