|
| .NET Framework Class Library |
| CountdownEvent..::.Signal Method |
| CountdownEvent Class See Also Send Feedback |
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
| Exception | Condition |
|---|---|
| System..::.InvalidOperationException | The current instance is already set. |
| System..::.ObjectDisposedException | The current instance has already been disposed. |