|
| .NET Framework Class Library |
| CountdownEvent..::.AddCount Method |
| CountdownEvent Class See Also Send Feedback |
Increments the CountdownEvent's current count by one.
Namespace:
System.Threading
Assembly:
System.Threading (in System.Threading.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub AddCount |
| C# |
|---|
public void AddCount() |
Exceptions
| Exception | Condition |
|---|---|
| System..::.InvalidOperationException | The current instance is already set. |
| System..::.InvalidOperationException | CurrentCount is equal to MaxValue. |
| System..::.ObjectDisposedException | The current instance has already been disposed. |