CountdownEvent.Reset CountdownEvent.Reset CountdownEvent.Reset CountdownEvent.Reset Method

Definition

Resets the CurrentCount value.

Overloads

Reset() Reset() Reset() Reset()

Resets the CurrentCount to the value of InitialCount.

Reset(Int32) Reset(Int32) Reset(Int32) Reset(Int32)

Resets the InitialCount property to a specified value.

Reset() Reset() Reset() Reset()

Resets the CurrentCount to the value of InitialCount.

public:
 void Reset();
public void Reset ();
member this.Reset : unit -> unit
Public Sub Reset ()

Exceptions

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.

Reset(Int32) Reset(Int32) Reset(Int32) Reset(Int32)

Resets the InitialCount property to a specified value.

public:
 void Reset(int count);
public void Reset (int count);
member this.Reset : int -> unit
Public Sub Reset (count As Integer)

Parameters

count
Int32 Int32 Int32 Int32

The number of signals required to set the CountdownEvent.

Exceptions

Remarks

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

See also

Applies to