Windows apps
Collapse the table of content
Expand the table of content
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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a continuation task that executes when another task completes.

Namespace:   System.Threading.Tasks
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodContinueWith(Action<Task, Object>, Object)

Creates a continuation that receives caller-supplied state information and executes when the target Task completes. (Inherited from Task.)

System_CAPS_pubmethodContinueWith(Action<Task, Object>, Object, CancellationToken)

Creates a continuation that receives caller-supplied state information and a cancellation token and that executes asynchronously when the target Task completes.(Inherited from Task.)

System_CAPS_pubmethodContinueWith(Action<Task, Object>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler)

Creates a continuation that receives caller-supplied state information and a cancellation token and that executes when the target Task completes. The continuation executes based on a set of specified conditions and uses a specified scheduler. (Inherited from Task.)

System_CAPS_pubmethodContinueWith(Action<Task, Object>, Object, TaskContinuationOptions)

Creates a continuation that receives caller-supplied state information and executes when the target Task completes. The continuation executes based on a set of specified conditions. (Inherited from Task.)

System_CAPS_pubmethodContinueWith(Action<Task, Object>, Object, TaskScheduler)

Creates a continuation that receives caller-supplied state information and executes asynchronously when the target Task completes. The continuation uses a specified scheduler. (Inherited from Task.)

System_CAPS_pubmethodContinueWith(Action<Task<TResult>, Object>, Object)

Creates a continuation that that is passed state information and that executes when the target Task<TResult> completes.

System_CAPS_pubmethodContinueWith(Action<Task<TResult>, Object>, Object, CancellationToken)

Creates a continuation that executes when the target Task<TResult> completes.

System_CAPS_pubmethodContinueWith(Action<Task<TResult>, Object>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler)

Creates a continuation that executes when the target Task<TResult> completes.

System_CAPS_pubmethodContinueWith(Action<Task<TResult>, Object>, Object, TaskContinuationOptions)

Creates a continuation that executes when the target Task<TResult> completes.

System_CAPS_pubmethodContinueWith(Action<Task<TResult>, Object>, Object, TaskScheduler)

Creates a continuation that executes when the target Task<TResult> completes.

System_CAPS_pubmethodContinueWith(Action<Task<TResult>>)

Creates a continuation that executes asynchronously when the target task completes.

System_CAPS_pubmethodContinueWith(Action<Task<TResult>>, CancellationToken)

Creates a cancelable continuation that executes asynchronously when the target Task<TResult> completes.

System_CAPS_pubmethodContinueWith(Action<Task<TResult>>, CancellationToken, TaskContinuationOptions, TaskScheduler)

Creates a continuation that executes according the condition specified in continuationOptions.

System_CAPS_pubmethodContinueWith(Action<Task<TResult>>, TaskContinuationOptions)

Creates a continuation that executes according the condition specified in continuationOptions.

System_CAPS_pubmethodContinueWith(Action<Task<TResult>>, TaskScheduler)

Creates a continuation that executes asynchronously when the target Task<TResult> completes.

System_CAPS_pubmethodContinueWith(Action<Task>)

Creates a continuation that executes asynchronously when the target Task completes.(Inherited from Task.)

System_CAPS_pubmethodContinueWith(Action<Task>, CancellationToken)

Creates a continuation that receives a cancellation token and executes asynchronously when the target Task completes.(Inherited from Task.)

System_CAPS_pubmethodContinueWith(Action<Task>, CancellationToken, TaskContinuationOptions, TaskScheduler)

Creates a continuation that executes when the target task competes according to the specified TaskContinuationOptions. The continuation receives a cancellation token and uses a specified scheduler. (Inherited from Task.)

System_CAPS_pubmethodContinueWith(Action<Task>, TaskContinuationOptions)

Creates a continuation that executes when the target task completes according to the specified TaskContinuationOptions.(Inherited from Task.)

System_CAPS_pubmethodContinueWith(Action<Task>, TaskScheduler)

Creates a continuation that executes asynchronously when the target Task completes. The continuation uses a specified scheduler. (Inherited from Task.)

System_CAPS_pubmethodContinueWith<TResult>(Func<Task, TResult>)

Creates a continuation that executes asynchronously when the target Task<TResult> completes and returns a value. (Inherited from Task.)

System_CAPS_pubmethodContinueWith<TResult>(Func<Task, TResult>, CancellationToken)

Creates a continuation that executes asynchronously when the target Task completes and returns a value. The continuation receives a cancellation token. (Inherited from Task.)

System_CAPS_pubmethodContinueWith<TResult>(Func<Task, TResult>, CancellationToken, TaskContinuationOptions, TaskScheduler)

Creates a continuation that executes according to the specified continuation options and returns a value. The continuation is passed a cancellation token and uses a specified scheduler. (Inherited from Task.)

System_CAPS_pubmethodContinueWith<TResult>(Func<Task, TResult>, TaskContinuationOptions)

Creates a continuation that executes according to the specified continuation options and returns a value. (Inherited from Task.)

System_CAPS_pubmethodContinueWith<TResult>(Func<Task, TResult>, TaskScheduler)

Creates a continuation that executes asynchronously when the target Task completes and returns a value. The continuation uses a specified scheduler. (Inherited from Task.)

System_CAPS_pubmethodContinueWith<TResult>(Func<Task, Object, TResult>, Object)

Creates a continuation that receives caller-supplied state information and executes asynchronously when the target Task completes and returns a value. (Inherited from Task.)

System_CAPS_pubmethodContinueWith<TResult>(Func<Task, Object, TResult>, Object, CancellationToken)

Creates a continuation that executes asynchronously when the target Task completes and returns a value. The continuation receives caller-supplied state information and a cancellation token. (Inherited from Task.)

System_CAPS_pubmethodContinueWith<TResult>(Func<Task, Object, TResult>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler)

Creates a continuation that executes based on the specified task continuation options when the target Task completes and returns a value. The continuation receives caller-supplied state information and a cancellation token and uses the specified scheduler. (Inherited from Task.)

System_CAPS_pubmethodContinueWith<TResult>(Func<Task, Object, TResult>, Object, TaskContinuationOptions)

Creates a continuation that executes based on the specified task continuation options when the target Task completes. The continuation receives caller-supplied state information. (Inherited from Task.)

System_CAPS_pubmethodContinueWith<TResult>(Func<Task, Object, TResult>, Object, TaskScheduler)

Creates a continuation that executes asynchronously when the target Task completes. The continuation receives caller-supplied state information and uses a specified scheduler. (Inherited from Task.)

System_CAPS_pubmethodContinueWith<TNewResult>(Func<Task<TResult>, TNewResult>)

Creates a continuation that executes asynchronously when the target Task<TResult> completes.

System_CAPS_pubmethodContinueWith<TNewResult>(Func<Task<TResult>, TNewResult>, CancellationToken)

Creates a continuation that executes asynchronously when the target Task<TResult> completes.

System_CAPS_pubmethodContinueWith<TNewResult>(Func<Task<TResult>, TNewResult>, CancellationToken, TaskContinuationOptions, TaskScheduler)

Creates a continuation that executes according the condition specified in continuationOptions.

System_CAPS_pubmethodContinueWith<TNewResult>(Func<Task<TResult>, TNewResult>, TaskContinuationOptions)

Creates a continuation that executes according the condition specified in continuationOptions.

System_CAPS_pubmethodContinueWith<TNewResult>(Func<Task<TResult>, TNewResult>, TaskScheduler)

Creates a continuation that executes asynchronously when the target Task<TResult> completes.

System_CAPS_pubmethodContinueWith<TNewResult>(Func<Task<TResult>, Object, TNewResult>, Object)

Creates a continuation that executes when the target Task<TResult> completes.

System_CAPS_pubmethodContinueWith<TNewResult>(Func<Task<TResult>, Object, TNewResult>, Object, CancellationToken)

Creates a continuation that executes when the target Task<TResult> completes.

System_CAPS_pubmethodContinueWith<TNewResult>(Func<Task<TResult>, Object, TNewResult>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler)

Creates a continuation that executes when the target Task<TResult> completes.

System_CAPS_pubmethodContinueWith<TNewResult>(Func<Task<TResult>, Object, TNewResult>, Object, TaskContinuationOptions)

Creates a continuation that executes when the target Task<TResult> completes.

System_CAPS_pubmethodContinueWith<TNewResult>(Func<Task<TResult>, Object, TNewResult>, Object, TaskScheduler)

Creates a continuation that executes when the target Task<TResult> completes.

Return to top
Show:
© 2017 Microsoft