AsyncEvent<TEventArgs> 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.
Async Event class to support firing async EventHandlers
generic <typename TEventArgs>
where TEventArgs : EventArgspublic ref class AsyncEvent
public class AsyncEvent<TEventArgs> where TEventArgs : EventArgs
type AsyncEvent<'EventArgs (requires 'EventArgs :> EventArgs)> = class
Public Class AsyncEvent(Of TEventArgs)
- TEventArgs
The EventArgs type to support
- Inheritance
-
AsyncEvent<TEventArgs>
Async |
Initializes a new instance of the AsyncEvent<TEventArgs> class. |
Async |
Return the async invocation list |
Insert |
Insert a callback in the specified position |
Invoke |
Invoke async to await for each |
Invoke |
Invoke async to await for each |
On |
Invoked when changes to the Invocation List are added or removed |
Addition(Async |
Operator += to support standard mechanism of event subscription |
Subtraction(Async |
Operator -= to support standard mechanism of event subscription |
Produkt | Verzie |
---|---|
Visual Studio SDK | 2017, 2019, 2022 |