Acquires a permit, if one is available and returns immediately, reducing the number of available permits by one.
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 22.214.171.124
|InvalidOperationException||if hazelcast instance is shutdown while waiting|
- 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