TaskExtensions TaskExtensions TaskExtensions TaskExtensions Class

Definition

Provides a set of static (Shared in Visual Basic) methods for working with specific kinds of Task instances.

public ref class TaskExtensions abstract sealed
public static class TaskExtensions
type TaskExtensions = class
Public Module TaskExtensions
Inheritance
TaskExtensionsTaskExtensionsTaskExtensionsTaskExtensions

Methods

ConfigureAwait(IAsyncDisposable, Boolean) ConfigureAwait(IAsyncDisposable, Boolean) ConfigureAwait(IAsyncDisposable, Boolean) ConfigureAwait(IAsyncDisposable, Boolean)
ConfigureAwait<T>(IAsyncEnumerable<T>, Boolean) ConfigureAwait<T>(IAsyncEnumerable<T>, Boolean) ConfigureAwait<T>(IAsyncEnumerable<T>, Boolean) ConfigureAwait<T>(IAsyncEnumerable<T>, Boolean)
Unwrap(Task<Task>) Unwrap(Task<Task>) Unwrap(Task<Task>) Unwrap(Task<Task>)

Creates a proxy Task that represents the asynchronous operation of a TryExecuteTaskInline(Task, Boolean).

Unwrap<TResult>(Task<Task<TResult>>) Unwrap<TResult>(Task<Task<TResult>>) Unwrap<TResult>(Task<Task<TResult>>) Unwrap<TResult>(Task<Task<TResult>>)

Creates a proxy Task that represents the asynchronous operation of a Task<Task<T>> (C#) or Task (Of Task(Of T)) (Visual Basic).

WithCancellation<T>(IAsyncEnumerable<T>, CancellationToken) WithCancellation<T>(IAsyncEnumerable<T>, CancellationToken) WithCancellation<T>(IAsyncEnumerable<T>, CancellationToken) WithCancellation<T>(IAsyncEnumerable<T>, CancellationToken)

Applies to

See also