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: 126.96.36.199
|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