AsyncAutoResetEvent Class
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 implementation of an AutoResetEvent.
public ref class AsyncAutoResetEvent
[Windows::Foundation::Metadata::WebHostHidden]
class AsyncAutoResetEvent
[System.Diagnostics.DebuggerDisplay("Signaled: {signaled}")]
public class AsyncAutoResetEvent
[<System.Diagnostics.DebuggerDisplay("Signaled: {signaled}")>]
type AsyncAutoResetEvent = class
Public Class AsyncAutoResetEvent
- Inheritance
-
AsyncAutoResetEvent
- Attributes
Async |
Initializes a new instance of the AsyncAutoResetEvent class that does not inline awaiters. |
Async |
Initializes a new instance of the AsyncAutoResetEvent class. |
Set() |
Unblocks one waiter or sets the signal if no waiters are present so the next waiter may proceed immediately. |
Wait |
Returns an awaitable that may be used to asynchronously acquire the next signal. |
Wait |
Returns an awaitable that may be used to asynchronously acquire the next signal. |
Proizvod | Verzije |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |
This type is thread-safe for all members.