TaskFactory<TResult> Methods

 
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.

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

NameDescription
System_CAPS_pubmethodContinueWhenAll(Task[], Func<Task[], TResult>)

Creates a continuation task that will be started upon the completion of a set of provided tasks.

System_CAPS_pubmethodContinueWhenAll(Task[], Func<Task[], TResult>, CancellationToken)

Creates a continuation task that will be started upon the completion of a set of provided tasks.

System_CAPS_pubmethodContinueWhenAll(Task[], Func<Task[], TResult>, CancellationToken, TaskContinuationOptions, TaskScheduler)

Creates a continuation task that will be started upon the completion of a set of provided Tasks.

System_CAPS_pubmethodContinueWhenAll(Task[], Func<Task[], TResult>, TaskContinuationOptions)

Creates a continuation task that will be started upon the completion of a set of provided Tasks.

System_CAPS_pubmethodContinueWhenAll<TAntecedentResult>(Task<TAntecedentResult>[], Func<Task<TAntecedentResult>[], TResult>)

Creates a continuation task that will be started upon the completion of a set of provided tasks.

System_CAPS_pubmethodContinueWhenAll<TAntecedentResult>(Task<TAntecedentResult>[], Func<Task<TAntecedentResult>[], TResult>, CancellationToken)

Creates a continuation task that will be started upon the completion of a set of provided tasks.

System_CAPS_pubmethodContinueWhenAll<TAntecedentResult>(Task<TAntecedentResult>[], Func<Task<TAntecedentResult>[], TResult>, CancellationToken, TaskContinuationOptions, TaskScheduler)

Creates a continuation task that will be started upon the completion of a set of provided tasks.

System_CAPS_pubmethodContinueWhenAll<TAntecedentResult>(Task<TAntecedentResult>[], Func<Task<TAntecedentResult>[], TResult>, TaskContinuationOptions)

Creates a continuation task that will be started upon the completion of a set of provided tasks.

System_CAPS_pubmethodContinueWhenAny(Task[], Func<Task, TResult>)

Creates a continuation task that will be started upon the completion of any task in the provided set.

System_CAPS_pubmethodContinueWhenAny(Task[], Func<Task, TResult>, CancellationToken)

Creates a continuation task that will be started upon the completion of any task in the provided set.

System_CAPS_pubmethodContinueWhenAny(Task[], Func<Task, TResult>, CancellationToken, TaskContinuationOptions, TaskScheduler)

Creates a continuation task that will be started upon the completion of any task in the provided set.

System_CAPS_pubmethodContinueWhenAny(Task[], Func<Task, TResult>, TaskContinuationOptions)

Creates a continuation task that will be started upon the completion of any task in the provided set.

System_CAPS_pubmethodContinueWhenAny<TAntecedentResult>(Task<TAntecedentResult>[], Func<Task<TAntecedentResult>, TResult>)

Creates a continuation task that will be started upon the completion of any task in the provided set.

System_CAPS_pubmethodContinueWhenAny<TAntecedentResult>(Task<TAntecedentResult>[], Func<Task<TAntecedentResult>, TResult>, CancellationToken)

Creates a continuation task that will be started upon the completion of any task in the provided set.

System_CAPS_pubmethodContinueWhenAny<TAntecedentResult>(Task<TAntecedentResult>[], Func<Task<TAntecedentResult>, TResult>, CancellationToken, TaskContinuationOptions, TaskScheduler)

Creates a continuation task that will be started upon the completion of any task in the provided set.

System_CAPS_pubmethodContinueWhenAny<TAntecedentResult>(Task<TAntecedentResult>[], Func<Task<TAntecedentResult>, TResult>, TaskContinuationOptions)

Creates a continuation task that will be started upon the completion of any task in the provided set.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFromAsync(Func<AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>, Object)

Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync(Func<AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>, Object, TaskCreationOptions)

Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync(IAsyncResult, Func<IAsyncResult, TResult>)

Creates a task that executes an end method function when a specified IAsyncResult completes.

System_CAPS_pubmethodFromAsync(IAsyncResult, Func<IAsyncResult, TResult>, TaskCreationOptions)

Creates a task that executes an end method function when a specified IAsyncResult completes.

System_CAPS_pubmethodFromAsync(IAsyncResult, Func<IAsyncResult, TResult>, TaskCreationOptions, TaskScheduler)

Creates a task that executes an end method function when a specified IAsyncResult completes.

System_CAPS_pubmethodFromAsync<TArg1>(Func<TArg1, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>, TArg1, Object)

Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync<TArg1>(Func<TArg1, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>, TArg1, Object, TaskCreationOptions)

Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync<TArg1, TArg2>(Func<TArg1, TArg2, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>, TArg1, TArg2, Object)

Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync<TArg1, TArg2>(Func<TArg1, TArg2, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>, TArg1, TArg2, Object, TaskCreationOptions)

Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync<TArg1, TArg2, TArg3>(Func<TArg1, TArg2, TArg3, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>, TArg1, TArg2, TArg3, Object)

Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodFromAsync<TArg1, TArg2, TArg3>(Func<TArg1, TArg2, TArg3, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>, TArg1, TArg2, TArg3, Object, TaskCreationOptions)

Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodStartNew(Func<TResult>)

Creates and starts a task.

System_CAPS_pubmethodStartNew(Func<TResult>, CancellationToken)

Creates and starts a task.

System_CAPS_pubmethodStartNew(Func<TResult>, CancellationToken, TaskCreationOptions, TaskScheduler)

Creates and starts a task.

System_CAPS_pubmethodStartNew(Func<TResult>, TaskCreationOptions)

Creates and starts a task.

System_CAPS_pubmethodStartNew(Func<Object, TResult>, Object)

Creates and starts a task.

System_CAPS_pubmethodStartNew(Func<Object, TResult>, Object, CancellationToken)

Creates and starts a task.

System_CAPS_pubmethodStartNew(Func<Object, TResult>, Object, CancellationToken, TaskCreationOptions, TaskScheduler)

Creates and starts a task.

System_CAPS_pubmethodStartNew(Func<Object, TResult>, Object, TaskCreationOptions)

Creates and starts a task.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show: