TaskExtensions Class

TaskExtensions Class

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

System.Object
  System.Threading.Tasks.TaskExtensions

Namespace:  System.Threading.Tasks
Assembly:  System.Core (in System.Core.dll)

public static class TaskExtensions

  NameDescription
Public methodStatic memberUnwrap(Task<Task>)Creates a proxy Task that represents the asynchronous operation of a TryExecuteTaskInline.
Public methodStatic memberUnwrap<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).
Top

Windows Phone OS

Supported in: 8.1, 8.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Show:
© 2017 Microsoft