Initializes a new instance of the SemaphoreLight class, specifying
the initial number of requests that can be granted concurrently.
Namespace: Renci.SshNet.CommonAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax
Parameters
- initialCount
- Type:
System Int32
The initial number of requests for the semaphore that can be granted concurrently.
Exceptions
| Exception | Condition |
|---|---|
| initialCount is a negative number. |
See Also