AsyncExtensions 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.
The asynchronous extensions.
public static class AsyncExtensions
type AsyncExtensions = class
Public Module AsyncExtensions
- Inheritance
-
AsyncExtensions
Methods
WhenAllForAwait(IEnumerable<Task>) |
Creates a task that will complete when all of the supplied tasks have completed. Multiple exceptions will be wrapped as single aggregate exception. This extension method is intend to be used with await operator exclusively. |
WhenAllForAwait<T>(IEnumerable<Task<T>>) |
Creates a task that will complete when all of the supplied tasks have completed. Multiple exceptions will be wrapped as single aggregate exception. This extension method is intend to be used with await operator exclusively. |
WrapMultipleExceptionsForAwait(Task) |
Wraps the multiple exceptions as single aggregate exception for await operator. |
WrapMultipleExceptionsForAwait<T>(Task<T>) |
Wraps the multiple exceptions as single aggregate exception for await operator. |