TplExtensions.InvokeAsync Method

Include Protected Members
Include Inherited Members

Invokes asynchronous event handlers, returning a task that completes when all event handlers have been invoked. Each handler is fully executed (including continuations) before the next handler in the list is invoked.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member InvokeAsync(AsyncEventHandler, Object, EventArgs) Invokes asynchronous event handlers, returning a task that completes when all event handlers have been invoked. Each handler is fully executed (including continuations) before the next handler in the list is invoked.
Public methodStatic member InvokeAsync<TEventArgs>(AsyncEventHandler<TEventArgs>, Object, TEventArgs) Invokes asynchronous event handlers, returning a task that completes when all event handlers have been invoked. Each handler is fully executed (including continuations) before the next handler in the list is invoked.

Top

See Also

Reference

TplExtensions Class

Microsoft.VisualStudio.Threading Namespace