CountdownEvent::Signal Method (Int32)

.NET Framework (current version)
 

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

Namespace:   System.Threading
Assembly:  mscorlib (in mscorlib.dll)

public:
bool Signal(
	int signalCount
)

Parameters

signalCount
Type: System::Int32

The number of signals to register.

Return Value

Type: System::Boolean

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

Exception Condition
ObjectDisposedException

The current instance has already been disposed.

ArgumentOutOfRangeException

signalCount is less than 1.

InvalidOperationException

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show: