Starting with desktop apps that target the .NET Framework 4.6, the culture of the thread that creates and invokes a task becomes part of the thread's context. That is, regardless of the current culture of the thread on which the task executes, the current culture of the task is the culture of the calling thread. For apps that target versions of the .NET Framework prior to the .NET Framework 4.6, the culture of the task is the culture of the thread on which the task executes. For more information, see the "Culture and task-based asynchronous operations" section in the CultureInfo topic. Note that Store apps follow the Windows Runtime in setting and getting the default culture.
|
ConfigureAwait(Boolean)
ConfigureAwait(Boolean)
ConfigureAwait(Boolean)
ConfigureAwait(Boolean)
|
Configures an awaiter used to await this Task<TResult>.
|
|
ContinueWith(Action<Task,Object>, Object)
ContinueWith(Action<Task,Object>, Object)
ContinueWith(Action<Task,Object>, Object)
ContinueWith(Action<Task,Object>, Object)
|
Creates a continuation that receives caller-supplied state information and executes when the target Task completes.
(Inherited from Task)
|
|
ContinueWith(Action<Task,Object>, Object, CancellationToken)
ContinueWith(Action<Task,Object>, Object, CancellationToken)
ContinueWith(Action<Task,Object>, Object, CancellationToken)
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.
(Inherited from Task)
|
|
ContinueWith(Action<Task,Object>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith(Action<Task,Object>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith(Action<Task,Object>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler)
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.
(Inherited from Task)
|
|
ContinueWith(Action<Task,Object>, Object, TaskContinuationOptions)
ContinueWith(Action<Task,Object>, Object, TaskContinuationOptions)
ContinueWith(Action<Task,Object>, Object, TaskContinuationOptions)
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.
(Inherited from Task)
|
|
ContinueWith(Action<Task,Object>, Object, TaskScheduler)
ContinueWith(Action<Task,Object>, Object, TaskScheduler)
ContinueWith(Action<Task,Object>, Object, TaskScheduler)
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.
(Inherited from Task)
|
|
ContinueWith(Action<Task<TResult>,Object>, Object)
ContinueWith(Action<Task<TResult>,Object>, Object)
ContinueWith(Action<Task<TResult>,Object>, Object)
ContinueWith(Action<Task<TResult>,Object>, Object)
|
Creates a continuation that is passed state information and that executes when the target Task<TResult> completes.
|
|
ContinueWith(Action<Task<TResult>,Object>, Object, CancellationToken)
ContinueWith(Action<Task<TResult>,Object>, Object, CancellationToken)
ContinueWith(Action<Task<TResult>,Object>, Object, CancellationToken)
ContinueWith(Action<Task<TResult>,Object>, Object, CancellationToken)
|
Creates a continuation that executes when the target Task<TResult> completes.
|
|
ContinueWith(Action<Task<TResult>,Object>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith(Action<Task<TResult>,Object>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith(Action<Task<TResult>,Object>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith(Action<Task<TResult>,Object>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler)
|
Creates a continuation that executes when the target Task<TResult> completes.
|
|
ContinueWith(Action<Task<TResult>,Object>, Object, TaskContinuationOptions)
ContinueWith(Action<Task<TResult>,Object>, Object, TaskContinuationOptions)
ContinueWith(Action<Task<TResult>,Object>, Object, TaskContinuationOptions)
ContinueWith(Action<Task<TResult>,Object>, Object, TaskContinuationOptions)
|
Creates a continuation that executes when the target Task<TResult> completes.
|
|
ContinueWith(Action<Task<TResult>,Object>, Object, TaskScheduler)
ContinueWith(Action<Task<TResult>,Object>, Object, TaskScheduler)
ContinueWith(Action<Task<TResult>,Object>, Object, TaskScheduler)
ContinueWith(Action<Task<TResult>,Object>, Object, TaskScheduler)
|
Creates a continuation that executes when the target Task<TResult> completes.
|
|
ContinueWith(Action<Task<TResult>>)
ContinueWith(Action<Task<TResult>>)
ContinueWith(Action<Task<TResult>>)
ContinueWith(Action<Task<TResult>>)
|
Creates a continuation that executes asynchronously when the target task completes.
|
|
ContinueWith(Action<Task<TResult>>, CancellationToken)
ContinueWith(Action<Task<TResult>>, CancellationToken)
ContinueWith(Action<Task<TResult>>, CancellationToken)
ContinueWith(Action<Task<TResult>>, CancellationToken)
|
Creates a cancelable continuation that executes asynchronously when the target Task<TResult> completes.
|
|
ContinueWith(Action<Task<TResult>>, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith(Action<Task<TResult>>, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith(Action<Task<TResult>>, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith(Action<Task<TResult>>, CancellationToken, TaskContinuationOptions, TaskScheduler)
|
Creates a continuation that executes according the condition specified in continuationOptions.
|
|
ContinueWith(Action<Task<TResult>>, TaskContinuationOptions)
ContinueWith(Action<Task<TResult>>, TaskContinuationOptions)
ContinueWith(Action<Task<TResult>>, TaskContinuationOptions)
ContinueWith(Action<Task<TResult>>, TaskContinuationOptions)
|
Creates a continuation that executes according the condition specified in continuationOptions.
|
|
ContinueWith(Action<Task<TResult>>, TaskScheduler)
ContinueWith(Action<Task<TResult>>, TaskScheduler)
ContinueWith(Action<Task<TResult>>, TaskScheduler)
ContinueWith(Action<Task<TResult>>, TaskScheduler)
|
Creates a continuation that executes asynchronously when the target Task<TResult> completes.
|
|
ContinueWith(Action<Task>)
ContinueWith(Action<Task>)
ContinueWith(Action<Task>)
ContinueWith(Action<Task>)
|
Creates a continuation that executes asynchronously when the target Task completes.
(Inherited from Task)
|
|
ContinueWith(Action<Task>, CancellationToken)
ContinueWith(Action<Task>, CancellationToken)
ContinueWith(Action<Task>, CancellationToken)
ContinueWith(Action<Task>, CancellationToken)
|
Creates a continuation that receives a cancellation token and executes asynchronously when the target Task completes.
(Inherited from Task)
|
|
ContinueWith(Action<Task>, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith(Action<Task>, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith(Action<Task>, CancellationToken, TaskContinuationOptions, TaskScheduler)
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.
(Inherited from Task)
|
|
ContinueWith(Action<Task>, TaskContinuationOptions)
ContinueWith(Action<Task>, TaskContinuationOptions)
ContinueWith(Action<Task>, TaskContinuationOptions)
ContinueWith(Action<Task>, TaskContinuationOptions)
|
Creates a continuation that executes when the target task completes according to the specified TaskContinuationOptions.
(Inherited from Task)
|
|
ContinueWith(Action<Task>, TaskScheduler)
ContinueWith(Action<Task>, TaskScheduler)
ContinueWith(Action<Task>, TaskScheduler)
ContinueWith(Action<Task>, TaskScheduler)
|
Creates a continuation that executes asynchronously when the target Task completes. The continuation uses a specified scheduler.
(Inherited from Task)
|
|
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object)
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object)
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object)
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object)
|
Creates a continuation that executes when the target Task<TResult> completes.
|
|
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object, CancellationToken)
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object, CancellationToken)
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object, CancellationToken)
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object, CancellationToken)
|
Creates a continuation that executes when the target Task<TResult> completes.
|
|
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler)
|
Creates a continuation that executes when the target Task<TResult> completes.
|
|
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object, TaskContinuationOptions)
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object, TaskContinuationOptions)
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object, TaskContinuationOptions)
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object, TaskContinuationOptions)
|
Creates a continuation that executes when the target Task<TResult> completes.
|
|
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object, TaskScheduler)
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object, TaskScheduler)
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object, TaskScheduler)
ContinueWith<TNewResult>(Func<Task<TResult>,Object,TNewResult>, Object, TaskScheduler)
|
Creates a continuation that executes when the target Task<TResult> completes.
|
|
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>)
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>)
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>)
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>)
|
Creates a continuation that executes asynchronously when the target Task<TResult> completes.
|
|
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>, CancellationToken)
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>, CancellationToken)
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>, CancellationToken)
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>, CancellationToken)
|
Creates a continuation that executes asynchronously when the target Task<TResult> completes.
|
|
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>, CancellationToken, TaskContinuationOptions, TaskScheduler)
|
Creates a continuation that executes according the condition specified in continuationOptions.
|
|
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>, TaskContinuationOptions)
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>, TaskContinuationOptions)
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>, TaskContinuationOptions)
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>, TaskContinuationOptions)
|
Creates a continuation that executes according the condition specified in continuationOptions.
|
|
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>, TaskScheduler)
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>, TaskScheduler)
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>, TaskScheduler)
ContinueWith<TNewResult>(Func<Task<TResult>,TNewResult>, TaskScheduler)
|
Creates a continuation that executes asynchronously when the target Task<TResult> completes.
|
|
ContinueWith<TResult>(Func<Task,Object,TResult>, Object)
ContinueWith<TResult>(Func<Task,Object,TResult>, Object)
ContinueWith<TResult>(Func<Task,Object,TResult>, Object)
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.
(Inherited from Task)
|
|
ContinueWith<TResult>(Func<Task,Object,TResult>, Object, CancellationToken)
ContinueWith<TResult>(Func<Task,Object,TResult>, Object, CancellationToken)
ContinueWith<TResult>(Func<Task,Object,TResult>, Object, CancellationToken)
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.
(Inherited from Task)
|
|
ContinueWith<TResult>(Func<Task,Object,TResult>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith<TResult>(Func<Task,Object,TResult>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith<TResult>(Func<Task,Object,TResult>, Object, CancellationToken, TaskContinuationOptions, TaskScheduler)
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.
(Inherited from Task)
|
|
ContinueWith<TResult>(Func<Task,Object,TResult>, Object, TaskContinuationOptions)
ContinueWith<TResult>(Func<Task,Object,TResult>, Object, TaskContinuationOptions)
ContinueWith<TResult>(Func<Task,Object,TResult>, Object, TaskContinuationOptions)
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.
(Inherited from Task)
|
|
ContinueWith<TResult>(Func<Task,Object,TResult>, Object, TaskScheduler)
ContinueWith<TResult>(Func<Task,Object,TResult>, Object, TaskScheduler)
ContinueWith<TResult>(Func<Task,Object,TResult>, Object, TaskScheduler)
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.
(Inherited from Task)
|
|
ContinueWith<TResult>(Func<Task,TResult>)
ContinueWith<TResult>(Func<Task,TResult>)
ContinueWith<TResult>(Func<Task,TResult>)
ContinueWith<TResult>(Func<Task,TResult>)
|
Creates a continuation that executes asynchronously when the target Task<TResult> completes and returns a value.
(Inherited from Task)
|
|
ContinueWith<TResult>(Func<Task,TResult>, CancellationToken)
ContinueWith<TResult>(Func<Task,TResult>, CancellationToken)
ContinueWith<TResult>(Func<Task,TResult>, CancellationToken)
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.
(Inherited from Task)
|
|
ContinueWith<TResult>(Func<Task,TResult>, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith<TResult>(Func<Task,TResult>, CancellationToken, TaskContinuationOptions, TaskScheduler)
ContinueWith<TResult>(Func<Task,TResult>, CancellationToken, TaskContinuationOptions, TaskScheduler)
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.
(Inherited from Task)
|
|
ContinueWith<TResult>(Func<Task,TResult>, TaskContinuationOptions)
ContinueWith<TResult>(Func<Task,TResult>, TaskContinuationOptions)
ContinueWith<TResult>(Func<Task,TResult>, TaskContinuationOptions)
ContinueWith<TResult>(Func<Task,TResult>, TaskContinuationOptions)
|
Creates a continuation that executes according to the specified continuation options and returns a value.
(Inherited from Task)
|
|
ContinueWith<TResult>(Func<Task,TResult>, TaskScheduler)
ContinueWith<TResult>(Func<Task,TResult>, TaskScheduler)
ContinueWith<TResult>(Func<Task,TResult>, TaskScheduler)
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.
(Inherited from Task)
|
|
Dispose()
Dispose()
Dispose()
Dispose()
|
Releases all resources used by the current instance of the Task class.
(Inherited from Task)
|
|
Dispose(Boolean)
Dispose(Boolean)
Dispose(Boolean)
Dispose(Boolean)
|
Disposes the Task, releasing all of its unmanaged resources.
(Inherited from Task)
|
|
Equals(Object)
Equals(Object)
Equals(Object)
Equals(Object)
|
Determines whether the specified object is equal to the current object.
(Inherited from Object)
|
|
GetAwaiter()
GetAwaiter()
GetAwaiter()
GetAwaiter()
|
Gets an awaiter used to await this Task<TResult>.
|
|
GetHashCode()
GetHashCode()
GetHashCode()
GetHashCode()
|
Serves as the default hash function.
(Inherited from Object)
|
|
GetType()
GetType()
GetType()
GetType()
|
Gets the Type of the current instance.
(Inherited from Object)
|
|
MemberwiseClone()
MemberwiseClone()
MemberwiseClone()
MemberwiseClone()
|
Creates a shallow copy of the current Object.
(Inherited from Object)
|
|
RunSynchronously()
RunSynchronously()
RunSynchronously()
RunSynchronously()
|
Runs the Task synchronously on the current TaskScheduler.
(Inherited from Task)
|
|
RunSynchronously(TaskScheduler)
RunSynchronously(TaskScheduler)
RunSynchronously(TaskScheduler)
RunSynchronously(TaskScheduler)
|
Runs the Task synchronously on the TaskScheduler provided.
(Inherited from Task)
|
|
Start()
Start()
Start()
Start()
|
Starts the Task, scheduling it for execution to the current TaskScheduler.
(Inherited from Task)
|
|
Start(TaskScheduler)
Start(TaskScheduler)
Start(TaskScheduler)
Start(TaskScheduler)
|
Starts the Task, scheduling it for execution to the specified TaskScheduler.
(Inherited from Task)
|
|
ToString()
ToString()
ToString()
ToString()
|
Returns a string that represents the current object.
(Inherited from Object)
|
|
Wait()
Wait()
Wait()
Wait()
|
Waits for the Task to complete execution.
(Inherited from Task)
|
|
Wait(CancellationToken)
Wait(CancellationToken)
Wait(CancellationToken)
Wait(CancellationToken)
|
Waits for the Task to complete execution. The wait terminates if a cancellation token is canceled before the task completes.
(Inherited from Task)
|
|
Wait(Int32)
Wait(Int32)
Wait(Int32)
Wait(Int32)
|
Waits for the Task to complete execution within a specified number of milliseconds.
(Inherited from Task)
|
|
Wait(Int32, CancellationToken)
Wait(Int32, CancellationToken)
Wait(Int32, CancellationToken)
Wait(Int32, CancellationToken)
|
Waits for the Task to complete execution. The wait terminates if a timeout interval elapses or a cancellation token is canceled before the task completes.
(Inherited from Task)
|
|
Wait(TimeSpan)
Wait(TimeSpan)
Wait(TimeSpan)
Wait(TimeSpan)
|
Waits for the Task to complete execution within a specified time interval.
(Inherited from Task)
|