System.Threading.CountdownEvent.Reset Method

Resets the CountdownEvent.InitialCount property to a specified value.

Syntax

public void Reset (int count)

Parameters

count
The number of signals required to set the System.Threading.CountdownEvent.

Remarks

This method resets CountdownEvent.InitialCount for all subsequent accesses of the property on the current instance. Unlike most of the members of System.Threading.CountdownEvent, Reset is not thread-safe and may not be used concurrently with other members of this instance.

Requirements

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0