TaskFactory Class (System.Threading.Tasks) (original) (raw)

CancellationToken

Gets the default cancellation token for this task factory.

ContinuationOptions

Gets the default task continuation options for this task factory.

CreationOptions

Gets the default task creation options for this task factory.

Scheduler

Gets the default task scheduler for this task factory.

ContinueWhenAll(Task[], Action<Task[]>, CancellationToken, TaskContinuationOptions, TaskScheduler)

Creates a continuation task that starts when a set of specified tasks has completed.

ContinueWhenAll(Task[], Action<Task[]>, CancellationToken)

Creates a continuation task that starts when a set of specified tasks has completed.

ContinueWhenAll(Task[], Action<Task[]>, TaskContinuationOptions)

Creates a continuation task that starts when a set of specified tasks has completed.

ContinueWhenAll(Task[], Action<Task[]>)

Creates a continuation task that starts when a set of specified tasks has completed.

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

Creates a continuation task that starts when a set of specified tasks has completed.

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

Creates a continuation task that starts when a set of specified tasks has completed.

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

Creates a continuation task that starts when a set of specified tasks has completed.

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

Creates a continuation task that starts when a set of specified tasks has completed.

ContinueWhenAll(Task[], Action<Task[]>, CancellationToken, TaskContinuationOptions, TaskScheduler)

Creates a continuation task that starts when a set of specified tasks has completed.

ContinueWhenAll(Task[], Action<Task[]>, CancellationToken)

Creates a continuation task that starts when a set of specified tasks has completed.

ContinueWhenAll(Task[], Action<Task[]>, TaskContinuationOptions)

Creates a continuation task that starts when a set of specified tasks has completed.

ContinueWhenAll(Task[], Action<Task[]>)

Creates a continuation task that starts when a set of specified tasks has completed.

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

Creates a continuation task that starts when a set of specified tasks has completed.

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

Creates a continuation task that starts when a set of specified tasks has completed.

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

Creates a continuation task that starts when a set of specified tasks has completed.

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

Creates a continuation task that starts when a set of specified tasks has completed.

ContinueWhenAny(Task[], Action, CancellationToken, TaskContinuationOptions, TaskScheduler)

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

ContinueWhenAny(Task[], Action, CancellationToken)

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

ContinueWhenAny(Task[], Action, TaskContinuationOptions)

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

ContinueWhenAny(Task[], Action)

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

ContinueWhenAny<TAntecedentResult,TResult>(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.

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

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

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

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

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

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

ContinueWhenAny(Task[], Action<Task>, CancellationToken, TaskContinuationOptions, TaskScheduler)

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

ContinueWhenAny(Task[], Action<Task>, CancellationToken)

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

ContinueWhenAny(Task[], Action<Task>, TaskContinuationOptions)

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

ContinueWhenAny(Task[], Action<Task>)

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

ContinueWhenAny(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.

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

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

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

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

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

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

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)

FromAsync(Func<AsyncCallback,Object,IAsyncResult>, Action, Object, TaskCreationOptions)

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

FromAsync(Func<AsyncCallback,Object,IAsyncResult>, Action, Object)

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

FromAsync(IAsyncResult, Action, TaskCreationOptions, TaskScheduler)

Creates a Task that executes an end method action when a specified IAsyncResult completes.

FromAsync(IAsyncResult, Action, TaskCreationOptions)

Creates a Task that executes an end method action when a specified IAsyncResult completes.

FromAsync(IAsyncResult, Action)

Creates a Task that executes an end method action when a specified IAsyncResult completes.

FromAsync<TArg1,TArg2,TArg3,TResult>(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.

FromAsync<TArg1,TArg2,TArg3,TResult>(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.

FromAsync<TArg1,TArg2,TArg3>(Func<TArg1,TArg2,TArg3,AsyncCallback, Object,IAsyncResult>, Action, 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.

FromAsync<TArg1,TArg2,TArg3>(Func<TArg1,TArg2,TArg3,AsyncCallback,Object,IAsyncResult>, Action, TArg1, TArg2, TArg3, Object)

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

FromAsync<TArg1,TArg2,TResult>(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.

FromAsync<TArg1,TArg2,TResult>(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.

FromAsync<TArg1,TArg2>(Func<TArg1,TArg2,AsyncCallback,Object,IAsyncResult>, Action, TArg1, TArg2, Object, TaskCreationOptions)

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

FromAsync<TArg1,TArg2>(Func<TArg1,TArg2,AsyncCallback,Object,IAsyncResult>, Action, TArg1, TArg2, Object)

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

FromAsync<TArg1,TResult>(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.

FromAsync<TArg1,TResult>(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.

FromAsync(Func<TArg1,AsyncCallback,Object,IAsyncResult>, Action, TArg1, Object, TaskCreationOptions)

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

FromAsync(Func<TArg1,AsyncCallback,Object,IAsyncResult>, Action, TArg1, Object)

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

FromAsync(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.

FromAsync(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.

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

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

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

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

FromAsync(IAsyncResult, Func<IAsyncResult,TResult>)

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

GetHashCode()

Serves as the default hash function.

(Inherited from Object)

GetType()

Gets the Type of the current instance.

(Inherited from Object)

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)

StartNew(Action, CancellationToken, TaskCreationOptions, TaskScheduler)

Creates and starts a task for the specified action delegate, cancellation token, creation options and state.

StartNew(Action, CancellationToken)

Creates and starts a task for the specified action delegate and cancellation token.

StartNew(Action, TaskCreationOptions)

Creates and starts a task for the specified action delegate and creation options.

StartNew(Action)

Creates and starts a task for the specified action delegate.

StartNew(Action, Object, CancellationToken, TaskCreationOptions, TaskScheduler)

Creates and starts a task for the specified action delegate, state, cancellation token, creation options and task scheduler.

StartNew(Action, Object, CancellationToken)

Creates and starts a task for the specified action delegate, state and cancellation token.

StartNew(Action, Object, TaskCreationOptions)

Creates and starts a task for the specified action delegate, state and creation options.

StartNew(Action, Object)

Creates and starts a task for the specified action delegate and state.

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

Creates and starts a task of type TResult for the specified function delegate, state, cancellation token, creation options and task scheduler.

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

Creates and starts a task of type TResult for the specified function delegate, state and cancellation token.

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

Creates and starts a task of type TResult for the specified function delegate, state and creation options.

StartNew(Func<Object,TResult>, Object)

Creates and starts a task of type TResult for the specified function delegate and state.

StartNew(Func, CancellationToken, TaskCreationOptions, TaskScheduler)

Creates and starts a task of type TResult for the specified function delegate, cancellation token, creation options and task scheduler.

StartNew(Func, CancellationToken)

Creates and starts a task of type TResult for the specified function delegate and cancellation token.

StartNew(Func, TaskCreationOptions)

Creates and starts a task of type TResult for the specified function delegate and creation options.

StartNew(Func)

Creates and starts a task of type TResult for the specified function delegate.

ToString()

Returns a string that represents the current object.

(Inherited from Object)