Task.ContinueWith Method
Creates a continuation that executes asynchronously when the target Task completes.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | ContinueWith(Action<Task, Object>, Object) | Creates a continuation that receives caller-supplied state information and executes when the target Task completes. |
![]() | ContinueWith(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. |
![]() | ContinueWith(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. |
![]() | ContinueWith(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. |
![]() | ContinueWith(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. |
![]() | ContinueWith(Action<Task>) | Creates a continuation that executes asynchronously when the target Task completes. |
![]() | ContinueWith(Action<Task>, CancellationToken) | Creates a continuation that receives a cancellation token and executes asynchronously when the target Task completes. |
![]() | ContinueWith(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. |
![]() | ContinueWith(Action<Task>, TaskContinuationOptions) | Creates a continuation that executes when the target task completes according to the specified TaskContinuationOptions. |
![]() | ContinueWith(Action<Task>, TaskScheduler) | Creates a continuation that executes asynchronously when the target Task completes. The continuation uses a specified scheduler. |
![]() | ContinueWith<TResult>(Func<Task, TResult>) | Creates a continuation that executes asynchronously when the target Task<TResult> completes and returns a value. |
![]() | ContinueWith<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. |
![]() | ContinueWith<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. |
![]() | ContinueWith<TResult>(Func<Task, TResult>, TaskContinuationOptions) | Creates a continuation that executes according to the specified continuation options and returns a value. |
![]() | ContinueWith<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. |
![]() | ContinueWith<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. |
![]() | ContinueWith<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. |
![]() | ContinueWith<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. |
![]() | ContinueWith<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. |
![]() | ContinueWith<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. |
