.NET Framework Class Library |
CountdownEvent..::.Reset Method |
CountdownEvent Class See Also Send Feedback |
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
Exception | Condition |
---|---|
System..::.ObjectDisposedException | The current instance has already been disposed.. |