TaskExtensions TaskExtensions TaskExtensions TaskExtensions Class

Definizione

Fornisce un set di metodi statici (Shared in Visual Basic) per l'utilizzo di tipi specifici di istanze di Task.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
Ereditarietà
TaskExtensionsTaskExtensionsTaskExtensionsTaskExtensions

Metodi

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>)

Crea un oggetto proxy Task che rappresenta l'operazione asincrona di un oggetto TryExecuteTaskInline(Task, Boolean).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>>)

Crea un oggetto Task proxy che rappresenta l'operazione asincrona di un oggetto Task<Task<T>> (C#) o Task (Of Task(Of T)) (Visual Basic).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)

Si applica a

Vedi anche