CountdownEvent.Signal CountdownEvent.Signal CountdownEvent.Signal CountdownEvent.Signal Method

Definition

Registers a signal with the CountdownEvent, decrementing the value of CurrentCount.

Overloads

Signal(Int32) Signal(Int32) Signal(Int32) Signal(Int32)

Registers multiple signals with the CountdownEvent, decrementing the value of CurrentCount by the specified amount.

Signal() Signal() Signal() Signal()

Registers a signal with the CountdownEvent, decrementing the value of CurrentCount.

Signal(Int32) Signal(Int32) Signal(Int32) Signal(Int32)

Registers multiple signals with the CountdownEvent, decrementing the value of CurrentCount by the specified amount.

public:
 bool Signal(int signalCount);
public bool Signal (int signalCount);
member this.Signal : int -> bool
Public Function Signal (signalCount As Integer) As Boolean

Parameters

signalCount
Int32 Int32 Int32 Int32

The number of signals to register.

Returns

true if the signals caused the count to reach zero and the event was set; otherwise, false.

Exceptions

The current instance is already set. -or- Or signalCount is greater than CurrentCount.

See also

Signal() Signal() Signal() Signal()

Registers a signal with the CountdownEvent, decrementing the value of CurrentCount.

public:
 bool Signal();
public bool Signal ();
member this.Signal : unit -> bool
Public Function Signal () As Boolean

Returns

true if the signal caused the count to reach zero and the event was set; otherwise, false.

Exceptions

See also

Applies to