TaskExtensions Class

May 11, 2014

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)

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class TaskExtensions

  NameDescription
Public methodStatic memberUnwrap(Task(Of Task))Creates a proxy Task that represents the asynchronous operation of a TryExecuteTaskInline.
Public methodStatic memberUnwrap(Of TResult)(Task(Of Task(Of 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:
© 2014 Microsoft