Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

TaskExtensions Class

Definition

Namespace:
System.Threading.Tasks
Assemblies:
System.Core.dll, System.Threading.Tasks.dll
Assemblies:
netstandard.dll, System.Runtime.dll
Assembly:
System.Threading.Tasks.dll
Assembly:
System.Core.dll
Assembly:
netstandard.dll
Source:
TaskExtensions.cs
Source:
TaskExtensions.cs
Source:
TaskExtensions.cs
Source:
TaskExtensions.cs
Source:
TaskExtensions.cs

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.

Provides a set of static methods for Task.

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

Methods

Name Description
Unwrap(Task<Task>)

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

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

Applies to

See also


Feedback

Was this page helpful?