Signal Method

Task Parallel System.Threading

Registers a signal with the CountdownEvent, decrementing its count.

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

Syntax

Visual Basic (Declaration)
Public Function Signal As Boolean
C#
public bool Signal()

Return Value

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

Exceptions

ExceptionCondition
System..::.InvalidOperationExceptionThe current instance is already set.
System..::.ObjectDisposedExceptionThe current instance has already been disposed.

See Also