AsyncInfo Methods
Collapse the table of content
Expand the table of content

AsyncInfo Methods

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

  NameDescription
Public method Static member Run(Func(Of CancellationToken, Task)) Creates and starts a Windows Runtime asynchronous action by using a function that generates a started task. The task can support cancellation.
Public method Static member Run(Of TResult)(Func(Of CancellationToken, Task(Of TResult))) Creates and starts a Windows Runtime asynchronous operation by using a function that generates a started task that returns results. The task can support cancellation.
Public method Static member Run(Of TProgress)(Func(Of CancellationToken, IProgress(Of TProgress), Task)) Creates and starts a Windows Runtime asynchronous action that includes progress updates, by using a function that generates a started task. The task can support cancellation and progress reporting.
Public method Static member Run(Of TResult, TProgress)(Func(Of CancellationToken, IProgress(Of TProgress), Task(Of TResult))) Creates and starts a Windows Runtime asynchronous operation that includes progress updates, by using a function that generates a started task that returns results. The task can support cancellation and progress reporting.
Top

Show:
© 2017 Microsoft