  | ISemaphoreReducePermits Method  | 
 
                Shrinks the number of available permits by the indicated
                reduction.
            
 
    Namespace: 
   Hazelcast.Core
    Assembly:
   Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.2
Syntaxvoid ReducePermits(
	int reduction
)
Sub ReducePermits ( 
	reduction As Integer
)
void ReducePermits(
	int reduction
)
abstract ReducePermits : 
        reduction : int -> unit 
Parameters
- reduction
 - Type: SystemInt32
the number of permits to remove 
Exceptions| Exception | Condition | 
|---|
| ArgumentException | 
                if
                reduction
                is negative
             | 
Remarks
                Shrinks the number of available permits by the indicated
                reduction. This method differs from
                acquire
                in that it does not
                block waiting for permits to become available.
            
See Also