共用方式為


TaskExtensions Class

Definition

public static class TaskExtensions
type TaskExtensions = class
Public Module TaskExtensions
Inheritance
TaskExtensions

Methods

HandleCancellation<TResult>(Task<TResult>, CancellationToken)
ThrowIfCancellationRequested(CancellationToken, Action)
ThrowIfFaulted(Task, Action)
ThrowIfFaulted(Task)

Applies to