Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

AsyncInfo.Run Method

.NET Framework 4.5

Creates and starts a Windows Runtime asynchronous action by using a function that generates a started task.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Run<TResult>(Func<CancellationToken, Task<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(Func<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<TResult, TProgress>(Func<CancellationToken, IProgress<TProgress>, Task<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.
Public method Static member Run<TProgress>(Func<CancellationToken, IProgress<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.
Top
© 2013 Microsoft. All rights reserved.