CountdownEvent.AddCount CountdownEvent.AddCount CountdownEvent.AddCount CountdownEvent.AddCount Method

Definition

Increments the CountdownEvent's current count.

Overloads

AddCount() AddCount() AddCount() AddCount()

Increments the CountdownEvent's current count by one.

AddCount(Int32) AddCount(Int32) AddCount(Int32) AddCount(Int32)

Increments the CountdownEvent's current count by a specified value.

AddCount() AddCount() AddCount() AddCount()

Increments the CountdownEvent's current count by one.

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

Exceptions

See also

AddCount(Int32) AddCount(Int32) AddCount(Int32) AddCount(Int32)

Increments the CountdownEvent's current count by a specified value.

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

Parameters

signalCount
Int32 Int32 Int32 Int32

The value by which to increase CurrentCount.

Exceptions

The current instance is already set.

-or-

CurrentCount is equal to or greater than MaxValue after count is incremented by signalCount.

See also

Applies to