This topic has not yet been rated - Rate this topic

TaskExtensions Class

April 12, 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)
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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.