Namespace:
System.Threading
Assembly:
System.Threading (in System.Threading.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub AddCount ( _
signalCount As Integer _
) |
| C# |
|---|
public void AddCount(
int signalCount
) |
Parameters
- signalCount
- Type: System..::.Int32
The value by which to increase CurrentCount.
Exceptions
| Exception | Condition |
|---|
| System..::.ArgumentOutOfRangeException | signalCount is less than
0. |
| System..::.InvalidOperationException | The current instance is already
set. |
| System..::.InvalidOperationException | CurrentCount is equal to MaxValue. |
| System..::.ObjectDisposedException | The current instance has already been
disposed. |
See Also