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.

Task<TResult>.ContinueWith Method

Creates a continuation task that executes when another task completes.

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 ContinueWith(Action<Task>) Creates a continuation that executes asynchronously when the target Task completes. (Inherited from Task.)
Public method ContinueWith(Action<Task<TResult>>) Creates a continuation that executes asynchronously when the target Task<TResult> completes.
Public method ContinueWith<TResult>(Func<Task, TResult>) Creates a continuation that executes asynchronously when the target Task completes. (Inherited from Task.)
Public method ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult>) Creates a continuation that executes asynchronously when the target Task<TResult> completes.
Public method ContinueWith(Action<Task>, CancellationToken) Creates a continuation that executes asynchronously when the target Task completes. (Inherited from Task.)
Public method ContinueWith(Action<Task>, TaskContinuationOptions) Creates a continuation that executes according to the specified TaskContinuationOptions. (Inherited from Task.)
Public method ContinueWith(Action<Task>, TaskScheduler) Creates a continuation that executes asynchronously when the target Task completes. (Inherited from Task.)
Public method ContinueWith(Action<Task, Object>, Object) Creates a continuation that executes when the target Task completes. (Inherited from Task.)
Public method ContinueWith(Action<Task<TResult>>, CancellationToken) Creates a continuation that executes asynchronously when the target Task<TResult> completes.
Public method ContinueWith(Action<Task<TResult>>, TaskContinuationOptions) Creates a continuation that executes according the condition specified in continuationOptions.
Public method ContinueWith(Action<Task<TResult>>, TaskScheduler) Creates a continuation that executes asynchronously when the target Task<TResult> completes.
Public method ContinueWith(Action<Task<TResult>, Object>, Object) Creates a continuation that executes when the target Task<TResult> completes.
Public method ContinueWith<TResult>(Func<Task, TResult>, CancellationToken) Creates a continuation that executes asynchronously when the target Task completes. (Inherited from Task.)
Public method ContinueWith<TResult>(Func<Task, TResult>, TaskContinuationOptions) Creates a continuation that executes according to the condition specified in continuationOptions. (Inherited from Task.)
Public method ContinueWith<TResult>(Func<Task, TResult>, TaskScheduler) Creates a continuation that executes asynchronously when the target Task completes. (Inherited from Task.)
Public method ContinueWith<TResult>(Func<Task, Object, TResult>, Object) Creates a continuation that executes when the target Task completes. (Inherited from Task.)
Public method ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult>, CancellationToken) Creates a continuation that executes asynchronously when the target Task<TResult> completes.
Public method ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult>, TaskContinuationOptions) Creates a continuation that executes according the condition specified in continuationOptions.
Public method ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult>, TaskScheduler) Creates a continuation that executes asynchronously when the target Task<TResult> completes.
Public method ContinueWith<TNewResult>(Func<Task<TResult>, Object, TNewResult>, Object) Creates a continuation that executes when the target Task<TResult> completes.
Public method ContinueWith(Action<Task, Object>, Object, CancellationToken) Creates a continuation that executes when the target Task completes. (Inherited from Task.)
Public method ContinueWith(Action<Task, Object>, Object, TaskContinuationOptions) Creates a continuation that executes when the target Task completes. (Inherited from Task.)
Public method ContinueWith(Action<Task, Object>, Object, TaskScheduler) Creates a continuation that executes when the target Task completes. (Inherited from Task.)
Public method ContinueWith(Action<Task<TResult>, Object>, Object, CancellationToken) Creates a continuation that executes when the target Task<TResult> completes.
Public method ContinueWith(Action<Task<TResult>, Object>, Object, TaskContinuationOptions) Creates a continuation that executes when the target Task<TResult> completes.
Public method ContinueWith(Action<Task<TResult>, Object>, Object, TaskScheduler) Creates a continuation that executes when the target Task<TResult> completes.
Public method ContinueWith<TResult>(Func<Task, Object, TResult>, Object, CancellationToken) Creates a continuation that executes when the target Task completes. (Inherited from Task.)
Public method ContinueWith<TResult>(Func<Task, Object, TResult>, Object, TaskContinuationOptions) Creates a continuation that executes when the target Task completes. (Inherited from Task.)
Public method ContinueWith<TResult>(Func<Task, Object, TResult>, Object, TaskScheduler) Creates a continuation that executes when the target Task completes. (Inherited from Task.)
Public method ContinueWith<TNewResult>(Func<Task<TResult>, Object, TNewResult>, Object, CancellationToken) Creates a continuation that executes when the target Task<TResult> completes.
Public method ContinueWith<TNewResult>(Func<Task<TResult>, Object, TNewResult>, Object, TaskContinuationOptions) Creates a continuation that executes when the target Task<TResult> completes.
Public method ContinueWith<TNewResult>(Func<Task<TResult>, Object, TNewResult>, Object, TaskScheduler) Creates a continuation that executes when the target Task<TResult> completes.
Public method ContinueWith(Action<Task>, CancellationToken, TaskContinuationOptions, TaskScheduler) Creates a continuation that executes according to the specified TaskContinuationOptions. (Inherited from Task.)
Public method ContinueWith(Action<Task<TResult>>, CancellationToken, TaskContinuationOptions, TaskScheduler) Creates a continuation that executes according the condition specified in continuationOptions.
Public method ContinueWith<TResult>(Func<Task, TResult>, CancellationToken, TaskContinuationOptions, TaskScheduler) Creates a continuation that executes according to the condition specified in continuationOptions. (Inherited from Task.)
Public method ContinueWith<TNewResult>(Func<Task<TResult>, TNewResult>, CancellationToken, TaskContinuationOptions, TaskScheduler) Creates a continuation that executes according the condition specified in continuationOptions.
Public method ContinueWith(Action<Task, Object>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler) Creates a continuation that executes when the target Task completes. (Inherited from Task.)
Public method ContinueWith(Action<Task<TResult>, Object>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler) Creates a continuation that executes when the target Task<TResult> completes.
Public method ContinueWith<TResult>(Func<Task, Object, TResult>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler) Creates a continuation that executes when the target Task completes. (Inherited from Task.)
Public method ContinueWith<TNewResult>(Func<Task<TResult>, Object, TNewResult>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler) Creates a continuation that executes when the target Task<TResult> completes.
Top
Show:
© 2014 Microsoft