AddCount Method

Task Parallel System.Threading

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

ExceptionCondition
System..::.InvalidOperationExceptionThe current instance is already set.
System..::.InvalidOperationExceptionCurrentCount is equal to MaxValue.
System..::.ObjectDisposedException The current instance has already been disposed.

See Also