Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CountdownEvent.Signal Method

Definition

Namespace:
System.Threading
Assemblies:
mscorlib.dll, System.Threading.dll
Assemblies:
netstandard.dll, System.Threading.dll
Assembly:
System.Threading.dll
Assembly:
mscorlib.dll
Assembly:
netstandard.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Overloads

Name Description
Signal(Int32)

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

Signal()

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

Signal(Int32)

Source:
CountdownEvent.cs
Source:
CountdownEvent.cs
Source:
CountdownEvent.cs
Source:
CountdownEvent.cs
Source:
CountdownEvent.cs

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

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 has already been disposed.

signalCount is less than 1.

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

See also

Applies to

Signal()

Source:
CountdownEvent.cs
Source:
CountdownEvent.cs
Source:
CountdownEvent.cs
Source:
CountdownEvent.cs
Source:
CountdownEvent.cs

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

The current instance has already been disposed.

The current instance is already set.

See also

Applies to


Feedback

Was this page helpful?