AsyncCountdownEvent Class
Definition
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.
An asynchronous style countdown event.
public ref class AsyncCountdownEvent
[Windows::Foundation::Metadata::WebHostHidden]
class AsyncCountdownEvent
public class AsyncCountdownEvent
type AsyncCountdownEvent = class
Public Class AsyncCountdownEvent
- Inheritance
-
AsyncCountdownEvent
Constructors
AsyncCountdownEvent(Int32) |
Initializes a new instance of the AsyncCountdownEvent class. |
Methods
Signal() |
Decrements the counter by one. |
SignalAndWaitAsync() |
Decrements the counter by one and returns an awaitable that executes the continuation when the countdown reaches zero. |
WaitAsync() |
Returns an awaitable that executes the continuation when the countdown reaches zero. |
Applies to
Thread Safety
This type is thread-safe for all members.