Reset Method

Task Parallel System.Threading

Resets the CurrentCount to the value of InitialCount.

Namespace:  System.Threading
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public Sub Reset
C#
public void Reset()

Remarks

Unlike most of the members of CountdownEvent, Reset is not thread-safe and may not be used concurrently with other members of this instance.

Exceptions

ExceptionCondition
System..::.ObjectDisposedExceptionThe current instance has already been disposed..

See Also