Windows Dev Center

CountdownEvent.Signal Method

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

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

public bool Signal()

Return Value

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

ExceptionCondition
ObjectDisposedException

The current instance has already been disposed.

InvalidOperationException

The current instance is already set.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2015 Microsoft