System.Threading.Tasks
Represents one or more errors that occur during application execution.
Initializes a new instance of the class with a system-supplied message that describes the error.
Initializes a new instance of the class with references to the inner exceptions that are the cause of this exception.
The exceptions that are the cause of the current exception.
The argument is null.
An element of is null.
Initializes a new instance of the class with references to the inner exceptions that are the cause of this exception.
The exceptions that are the cause of the current exception.
The argument is null.
An element of is null.
Initializes a new instance of the class with a specified message that describes the error.
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Initializes a new instance of the class with a specified error message and references to the inner exceptions that are the cause of this exception.
The error message that explains the reason for the exception.
The exceptions that are the cause of the current exception.
The argument is null.
An element of is null.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception.
The argument is null.
Initializes a new instance of the class with a specified error message and references to the inner exceptions that are the cause of this exception.
The error message that explains the reason for the exception.
The exceptions that are the cause of the current exception.
The argument is null.
An element of is null.
Flattens an instances into a single, new instance.
A new, flattened .
Returns the that is the root cause of this exception.
Returns the that is the root cause of this exception.
Invokes a handler on each contained by this .
The predicate to execute for each exception. The predicate accepts as an argument the to be processed and returns a Boolean to indicate whether the exception was handled.
The argument is null.
An exception contained by this was not handled.
Gets a read-only collection of the instances that caused the current exception.
Returns a read-only collection of the instances that caused the current exception.
Creates and returns a string representation of the current .
A string representation of the current exception.
The exception that is thrown in a thread upon cancellation of an operation that the thread was executing.
2
Initializes a new instance of the class with a system-supplied error message.
Initializes a new instance of the class with a specified error message.
A that describes the error.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception.
Initializes a new instance of the class with a specified error message, a reference to the inner exception that is the cause of this exception, and a cancellation token.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception.
A cancellation token associated with the operation that was canceled.
Initializes a new instance of the class with a specified error message and a cancellation token.
The error message that explains the reason for the exception.
A cancellation token associated with the operation that was canceled.
Initializes a new instance of the class with a cancellation token.
A cancellation token associated with the operation that was canceled.
Gets a token associated with the operation that was canceled.
A token associated with the operation that was canceled, or a default token.
Represents a builder for asynchronous methods that return a task.
Schedules the state machine to proceed to the next action when the specified awaiter completes.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Schedules the state machine to proceed to the next action when the specified awaiter completes. This method can be called from partially trusted code.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Creates an instance of the class.
A new instance of the builder.
Marks the task as failed and binds the specified exception to the task.
The exception to bind to the task.
is null.
The task has already completed.-or-The builder is not initialized.
Marks the task as successfully completed.
The task has already completed.-or-The builder is not initialized.
Associates the builder with the specified state machine.
The state machine instance to associate with the builder.
is null.
The state machine was previously set.
Begins running the builder with the associated state machine.
The state machine instance, passed by reference.
The type of the state machine.
is null.
Gets the task for this builder.
The task for this builder.
The builder is not initialized.
Represents a builder for asynchronous methods that returns a task and provides a parameter for the result.
The result to use to complete the task.
Schedules the state machine to proceed to the next action when the specified awaiter completes.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Schedules the state machine to proceed to the next action when the specified awaiter completes. This method can be called from partially trusted code.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Creates an instance of the class.
A new instance of the builder.
Marks the task as failed and binds the specified exception to the task.
The exception to bind to the task.
is null.
The task has already completed.
Marks the task as successfully completed.
The result to use to complete the task.
The task has already completed.
Associates the builder with the specified state machine.
The state machine instance to associate with the builder.
is null.
The state machine was previously set.
Begins running the builder with the associated state machine.
The state machine instance, passed by reference.
The type of the state machine.
is null.
Gets the task for this builder.
The task for this builder.
Represents a builder for asynchronous methods that do not return a value.
Schedules the state machine to proceed to the next action when the specified awaiter completes.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Schedules the state machine to proceed to the next action when the specified awaiter completes. This method can be called from partially trusted code.
The awaiter.
The state machine.
The type of the awaiter.
The type of the state machine.
Creates an instance of the class.
A new instance of the builder.
Binds an exception to the method builder.
The exception to bind.
is null.
The builder is not initialized.
Marks the method builder as successfully completed.
The builder is not initialized.
Associates the builder with the specified state machine.
The state machine instance to associate with the builder.
is null.
The state machine was previously set.
Begins running the builder with the associated state machine.
The state machine instance, passed by reference.
The type of the state machine.
is null.
Provides an awaitable object that enables configured awaits on a task.
Returns an awaiter for this awaitable object.
The awaiter.
Provides an awaitable object that enables configured awaits on a task.
The type of the result produced by this .
Returns an awaiter for this awaitable object.
The awaiter.
Provides an awaiter for an awaitable object().
Ends the await on the completed task.
The result of the completed task.
The awaiter was not properly initialized.
The task was canceled.
The task completed in a faulted state.
Gets a value that specifies whether the task being awaited has been completed.
true if the task being awaited has been completed; otherwise, false.
The awaiter was not properly initialized.
Schedules the continuation action for the task associated with this awaiter.
The action to invoke when the await operation completes.
The argument is null.
The awaiter was not properly initialized.
Schedules the continuation action for the task associated with this awaiter.
The action to invoke when the await operation completes.
The argument is null.
The awaiter was not properly initialized.
Provides an awaiter for an awaitable () object.
Ends the await on the completed task.
The awaiter was not properly initialized.
The task was canceled.
The task completed in a faulted state.
Gets a value that specifies whether the task being awaited is completed.
true if the task being awaited is completed; otherwise, false.
The awaiter was not properly initialized.
Schedules the continuation action for the task associated with this awaiter.
The action to invoke when the await operation completes.
The argument is null.
The awaiter was not properly initialized.
Schedules the continuation action for the task associated with this awaiter.
The action to invoke when the await operation completes.
The argument is null.
The awaiter was not properly initialized.
Represents state machines that are generated for asynchronous methods. This type is intended for compiler use only.
Moves the state machine to its next state.
Configures the state machine with a heap-allocated replica.
The heap-allocated replica.
Represents an awaiter that schedules continuations when an await operation completes.
Schedules the continuation action that's invoked when the instance completes.
The action to invoke when the operation completes.
The argument is null (Nothing in Visual Basic).
Represents an operation that schedules continuations when it completes.
Schedules the continuation action that's invoked when the instance completes.
The action to invoke when the operation completes.
The argument is null (Nothing in Visual Basic).
Provides an object that waits for the completion of an asynchronous task.
Ends the wait for the completion of the asynchronous task.
The object was not properly initialized.
The task was canceled.
The task completed in a state.
Gets a value that indicates whether the asynchronous task has completed.
true if the task has completed; otherwise, false.
The object was not properly initialized.
Sets the action to perform when the object stops waiting for the asynchronous task to complete.
The action to perform when the wait operation completes.
is null.
The object was not properly initialized.
Schedules the continuation action for the asynchronous task that is associated with this awaiter.
The action to invoke when the await operation completes.
is null.
The awaiter was not properly initialized.
Represents an object that waits for the completion of an asynchronous task and provides a parameter for the result.
The result for the task.
Ends the wait for the completion of the asynchronous task.
The result of the completed task.
The object was not properly initialized.
The task was canceled.
The task completed in a state.
Gets a value that indicates whether the asynchronous task has completed.
true if the task has completed; otherwise, false.
The object was not properly initialized.
Sets the action to perform when the object stops waiting for the asynchronous task to complete.
The action to perform when the wait operation completes.
is null.
The object was not properly initialized.
Schedules the continuation action for the asynchronous task associated with this awaiter.
The action to invoke when the await operation completes.
is null.
The awaiter was not properly initialized.
Provides the context for waiting when asynchronously switching into a target environment.
Retrieves a object for this instance of the class.
The object that is used to monitor the completion of an asynchronous operation.
Provides an awaiter for switching into a target environment.
Ends the await operation.
Gets a value that indicates whether a yield is not required.
Always false, which indicates that a yield is always required for .
Sets the continuation to invoke.
The action to invoke asynchronously.
is null.
Posts the back to the current context.
The action to invoke asynchronously.
The argument is null.
Propagates notification that operations should be canceled.
Initializes the .
The canceled state for the token.
Gets whether this token is capable of being in the canceled state.
true if this token is capable of being in the canceled state; otherwise false.
Determines whether the current instance is equal to the specified .
True if is a and if the two instances are equal; otherwise, false. Two tokens are equal if they are associated with the same or if they were both constructed from public CancellationToken constructors and their values are equal.
The other object to which to compare this instance.
An associated has been disposed.
Determines whether the current instance is equal to the specified token.
True if the instances are equal; otherwise, false. Two tokens are equal if they are associated with the same or if they were both constructed from public CancellationToken constructors and their values are equal.
The other to which to compare this instance.
Serves as a hash function for a .
A hash code for the current instance.
Gets whether cancellation has been requested for this token.
true if cancellation has been requested for this token; otherwise false.
Returns an empty value.
An empty cancellation token.
Determines whether two instances are equal.
True if the instances are equal; otherwise, false.
The first instance.
The second instance.
An associated has been disposed.
Determines whether two instances are not equal.
True if the instances are not equal; otherwise, false.
The first instance.
The second instance.
An associated has been disposed.
Registers a delegate that will be called when this is canceled.
The instance that can be used to deregister the callback.
The delegate to be executed when the is canceled.
The associated has been disposed.
is null.
Registers a delegate that will be called when this is canceled.
The instance that can be used to deregister the callback.
The delegate to be executed when the is canceled.
A Boolean value that indicates whether to capture the current and use it when invoking the .
The associated has been disposed.
is null.
Registers a delegate that will be called when this is canceled.
The instance that can be used to deregister the callback.
The delegate to be executed when the is canceled.
The state to pass to the when the delegate is invoked. This may be null.
The associated has been disposed.
is null.
Registers a delegate that will be called when this is canceled.
The instance that can be used to deregister the callback.
The delegate to be executed when the is canceled.
The state to pass to the when the delegate is invoked. This may be null.
A Boolean value that indicates whether to capture the current and use it when invoking the .
The associated has been disposed.
is null.
Throws a if this token has had cancellation requested.
The token has had cancellation requested.
The associated has been disposed.
Gets a that is signaled when the token is canceled.
A that is signaled when the token is canceled.
The associated has been disposed.
Represents a callback delegate that has been registered with a .
Releases all resources used by the current instance of the class.
Determines whether the current instance is equal to the specified .
True, if both this and are equal. False, otherwise.Two instances are equal if they both refer to the output of a single call to the same Register method of a .
The other object to which to compare this instance.
Determines whether the current instance is equal to the specified .
True, if both this and are equal. False, otherwise. Two instances are equal if they both refer to the output of a single call to the same Register method of a .
The other to which to compare this instance.
Serves as a hash function for a .
A hash code for the current instance.
Determines whether two instances are equal.
True if the instances are equal; otherwise, false.
The first instance.
The second instance.
Determines whether two instances are not equal.
True if the instances are not equal; otherwise, false.
The first instance.
The second instance.
Signals to a that it should be canceled.
Initializes a new instance of the class.
Initializes a new instance of the class that will be canceled after the specified delay in milliseconds.
The time interval in milliseconds to wait before canceling this .
is less than -1.
Initializes a new instance of the class that will be canceled after the specified time span.
The time interval to wait before canceling this .
. is less than -1 or greater than .
Communicates a request for cancellation.
This has been disposed.
An aggregate exception containing all the exceptions thrown by the registered callbacks on the associated .
Communicates a request for cancellation, and specifies whether remaining callbacks and cancelable operations should be processed.
true if exceptions should immediately propagate; otherwise, false.
This has been disposed.
An aggregate exception containing all the exceptions thrown by the registered callbacks on the associated .
Schedules a cancel operation on this after the specified number of milliseconds.
The time span to wait before canceling this .
The exception thrown when this has been disposed.
The exception thrown when is less than -1.
Schedules a cancel operation on this after the specified time span.
The time span to wait before canceling this .
The exception thrown when this has been disposed.
The exception that is thrown when is less than -1 or greater than Int32.MaxValue.
Creates a that will be in the canceled state when any of the source tokens are in the canceled state.
A that is linked to the source tokens.
The first cancellation token to observe.
The second cancellation token to observe.
A associated with one of the source tokens has been disposed.
Creates a that will be in the canceled state when any of the source tokens in the specified array are in the canceled state.
A that is linked to the source tokens.
An array that contains the cancellation token instances to observe.
A associated with one of the source tokens has been disposed.
is null.
is empty.
Releases all resources used by the current instance of the class.
Releases the unmanaged resources used by the class and optionally releases the managed resources.
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Gets whether cancellation has been requested for this .
true if cancellation has been requested for this ; otherwise, false.
Gets the associated with this .
The associated with this .
The token source has been disposed.
Provides task schedulers that coordinate to execute tasks while ensuring that concurrent tasks may run concurrently and exclusive tasks never do.
Initializes a new instance of the class.
Initializes a new instance of the class that targets the specified scheduler.
The target scheduler on which this pair should execute.
Initializes a new instance of the class that targets the specified scheduler with a maximum concurrency level.
The target scheduler on which this pair should execute.
The maximum number of tasks to run concurrently.
Initializes a new instance of the class that targets the specified scheduler with a maximum concurrency level and a maximum number of scheduled tasks that may be processed as a unit.
The target scheduler on which this pair should execute.
The maximum number of tasks to run concurrently.
The maximum number of tasks to process for each underlying scheduled task used by the pair.
Informs the scheduler pair that it should not accept any more tasks.
Gets a that will complete when the scheduler has completed processing.
The asynchronous operation that will complete when the scheduler finishes processing.
Gets a that can be used to schedule tasks to this pair that may run concurrently with other tasks on this pair.
An object that can be used to schedule tasks concurrently.
Gets a that can be used to schedule tasks to this pair that must run exclusively with regards to other tasks on this pair.
An object that can be used to schedule tasks that do not run concurrently with other tasks.
Represents an asynchronous operation.To browse the .NET Framework source code for this type, see the Reference Source.
Initializes a new with the specified action.
The delegate that represents the code to execute in the task.
The argument is null.
Initializes a new with the specified action and .
The delegate that represents the code to execute in the task.
The that the new task will observe.
The provided has already been disposed.
The argument is null.
Initializes a new with the specified action and creation options.
The delegate that represents the code to execute in the task.
The that the new task will observe.
The used to customize the task's behavior.
The that created has already been disposed.
The argument is null.
The argument specifies an invalid value for .
Initializes a new with the specified action and creation options.
The delegate that represents the code to execute in the task.
The used to customize the task's behavior.
The argument is null.
The argument specifies an invalid value for .
Initializes a new with the specified action and state.
The delegate that represents the code to execute in the task.
An object representing data to be used by the action.
The argument is null.
Initializes a new with the specified action, state, and options.
The delegate that represents the code to execute in the task.
An object representing data to be used by the action.
The that that the new task will observe.
The that created has already been disposed.
The argument is null.
Initializes a new with the specified action, state, and options.
The delegate that represents the code to execute in the task.
An object representing data to be used by the action.
The that that the new task will observe..
The used to customize the task's behavior.
The that created has already been disposed.
The argument is null.
The argument specifies an invalid value for .
Initializes a new with the specified action, state, and options.
The delegate that represents the code to execute in the task.
An object representing data to be used by the action.
The used to customize the task's behavior.
The argument is null.
The argument specifies an invalid value for .
Gets the state object supplied when the was created, or null if none was supplied.
An that represents the state data that was passed in to the task when it was created.
Gets a task that has already completed successfully.
The successfully completed task.
Configures an awaiter used to await this .
An object used to await this task.
true to attempt to marshal the continuation back to the original context captured; otherwise, false.
Creates a continuation that executes asynchronously when the target completes.
A new continuation .
An action to run when the completes. When run, the delegate will be passed the completed task as an argument.
The argument is null.
Creates a continuation that receives a cancellation token and executes asynchronously when the target completes.
A new continuation .
An action to run when the completes. When run, the delegate will be passed the completed task as an argument.
The that will be assigned to the new continuation task.
The that created the token has already been disposed.
The argument is null.
Creates a continuation that executes when the target task competes according to the specified . The continuation receives a cancellation token and uses a specified scheduler.
A new continuation .
An action to run according to the specified . When run, the delegate will be passed the completed task as an argument.
The that will be assigned to the new continuation task.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The to associate with the continuation task and to use for its execution.
The that created the token has already been disposed.
The argument is null.-or-The argument is null.
The argument specifies an invalid value for .
Creates a continuation that executes when the target task completes according to the specified .
A new continuation .
An action to run according to the specified . When run, the delegate will be passed the completed task as an argument.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The argument is null.
The argument specifies an invalid value for .
Creates a continuation that executes asynchronously when the target completes. The continuation uses a specified scheduler.
A new continuation .
An action to run when the completes. When run, the delegate will be passed the completed task as an argument.
The to associate with the continuation task and to use for its execution.
The has been disposed.
The argument is null. -or-The argument is null.
Creates a continuation that receives caller-supplied state information and executes when the target completes.
A new continuation task.
An action to run when the task completes. When run, the delegate is passed the completed task and a caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
The argument is null.
Creates a continuation that receives caller-supplied state information and a cancellation token and that executes asynchronously when the target completes.
A new continuation .
An action to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
The that will be assigned to the new continuation task.
The argument is null.
The provided has already been disposed.
Creates a continuation that receives caller-supplied state information and a cancellation token and that executes when the target completes. The continuation executes based on a set of specified conditions and uses a specified scheduler.
A new continuation .
An action to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
The that will be assigned to the new continuation task.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The to associate with the continuation task and to use for its execution.
The argument is null.
The argument specifies an invalid value for .
The argument is null.
The provided has already been disposed.
Creates a continuation that receives caller-supplied state information and executes when the target completes. The continuation executes based on a set of specified conditions.
A new continuation .
An action to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The argument is null.
The argument specifies an invalid value for .
Creates a continuation that receives caller-supplied state information and executes asynchronously when the target completes. The continuation uses a specified scheduler.
A new continuation .
An action to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
The to associate with the continuation task and to use for its execution.
The argument is null.
The argument is null.
Creates a continuation that executes asynchronously when the target completes and returns a value.
A new continuation task.
A function to run when the completes. When run, the delegate will be passed the completed task as an argument.
The type of the result produced by the continuation.
The has been disposed.
The argument is null.
Creates a continuation that executes asynchronously when the target completes and returns a value. The continuation receives a cancellation token.
A new continuation .
A function to run when the completes. When run, the delegate will be passed the completed task as an argument.
The that will be assigned to the new continuation task.
The type of the result produced by the continuation.
The has been disposed.-or-The that created the token has already been disposed.
The argument is null.
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.
A new continuation .
A function to run according to the specified When run, the delegate will be passed the completed task as an argument.
The that will be assigned to the new continuation task.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The to associate with the continuation task and to use for its execution.
The type of the result produced by the continuation.
The has been disposed.-or-The that created the token has already been disposed.
The argument is null.-or-The argument is null.
The argument specifies an invalid value for .
Creates a continuation that executes according to the specified continuation options and returns a value.
A new continuation .
A function to run according to the condition specified in . When run, the delegate will be passed the completed task as an argument.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The type of the result produced by the continuation.
The has been disposed.
The argument is null.
The argument specifies an invalid value for .
Creates a continuation that executes asynchronously when the target completes and returns a value. The continuation uses a specified scheduler.
A new continuation .
A function to run when the completes. When run, the delegate will be passed the completed task as an argument.
The to associate with the continuation task and to use for its execution.
The type of the result produced by the continuation.
The has been disposed.
The argument is null.-or-The argument is null.
Creates a continuation that receives caller-supplied state information and executes asynchronously when the target completes and returns a value.
A new continuation .
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
The type of the result produced by the continuation.
The argument is null.
Creates a continuation that executes asynchronously when the target completes and returns a value. The continuation receives caller-supplied state information and a cancellation token.
A new continuation .
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
The that will be assigned to the new continuation task.
The type of the result produced by the continuation.
The argument is null.
The provided has already been disposed.
Creates a continuation that executes based on the specified task continuation options when the target completes and returns a value. The continuation receives caller-supplied state information and a cancellation token and uses the specified scheduler.
A new continuation .
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
The that will be assigned to the new continuation task.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The to associate with the continuation task and to use for its execution.
The type of the result produced by the continuation.
The argument is null.
The argument specifies an invalid value for .
The argument is null.
The provided has already been disposed.
Creates a continuation that executes based on the specified task continuation options when the target completes. The continuation receives caller-supplied state information.
A new continuation .
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The type of the result produced by the continuation.
The argument is null.
The argument specifies an invalid value for .
Creates a continuation that executes asynchronously when the target completes. The continuation receives caller-supplied state information and uses a specified scheduler.
A new continuation .
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
The to associate with the continuation task and to use for its execution.
The type of the result produced by the continuation.
The argument is null.
The argument is null.
Gets the used to create this task.
The used to create this task.
Returns the unique ID of the currently executing .
An integer that was assigned by the system to the currently-executing task.
Creates a task that completes after a time delay.
A task that represents the time delay.
The number of milliseconds to wait before completing the returned task, or -1 to wait indefinitely.
The argument is less than -1.
Creates a cancellable task that completes after a time delay.
A task that represents the time delay.
The number of milliseconds to wait before completing the returned task, or -1 to wait indefinitely.
The cancellation token that will be checked prior to completing the returned task.
The argument is less than -1.
The task has been canceled.
The provided has already been disposed.
Creates a task that completes after a specified time interval.
A task that represents the time delay.
The time span to wait before completing the returned task, or TimeSpan.FromMilliseconds(-1) to wait indefinitely.
represents a negative time interval other than TimeSpan.FromMillseconds(-1). -or-The argument's property is greater than .
Creates a cancellable task that completes after a specified time interval.
A task that represents the time delay.
The time span to wait before completing the returned task, or TimeSpan.FromMilliseconds(-1) to wait indefinitely.
The cancellation token that will be checked prior to completing the returned task.
represents a negative time interval other than TimeSpan.FromMillseconds(-1). -or-The argument's property is greater than .
The task has been canceled.
The provided has already been disposed.
Gets the that caused the to end prematurely. If the completed successfully or has not yet thrown any exceptions, this will return null.
The that caused the to end prematurely.
Provides access to factory methods for creating and configuring and instances.
A factory object that can create a variety of and objects.
Creates a that's completed due to cancellation with a specified cancellation token.
The canceled task.
The cancellation token with which to complete the task.
Creates a that's completed due to cancellation with a specified cancellation token.
The canceled task.
The cancellation token with which to complete the task.
The type of the result returned by the task.
Creates a that's completed with a specified exception.
The faulted task.
The exception with which to complete the task.
The type of the result returned by the task.
Creates a that has completed with a specified exception.
The faulted task.
The exception with which to complete the task.
Creates a that's completed successfully with the specified result.
The successfully completed task.
The result to store into the completed task.
The type of the result returned by the task.
Gets an awaiter used to await this .
An awaiter instance.
Gets a unique ID for this instance.
An integer that was assigned by the system to this task instance.
Gets whether this instance has completed execution due to being canceled.
true if the task has completed due to being canceled; otherwise false.
Gets whether this has completed.
true if the task has completed; otherwise false.
Gets whether the completed due to an unhandled exception.
true if the task has thrown an unhandled exception; otherwise false.
Queues the specified work to run on the ThreadPool and returns a task handle for that work.
A task that represents the work queued to execute in the ThreadPool.
The work to execute asynchronously
The parameter was null.
Queues the specified work to run on the ThreadPool and returns a task handle for that work.
A task that represents the work queued to execute in the ThreadPool.
The work to execute asynchronously
A cancellation token that should be used to cancel the work
The parameter was null.
The task has been canceled.
The associated with was disposed.
Queues the specified work to run on the ThreadPool and returns a proxy for the Task(TResult) returned by .
A Task(TResult) that represents a proxy for the Task(TResult) returned by .
The work to execute asynchronously
The type of the result returned by the proxy task.
The parameter was null.
Queues the specified work to run on the ThreadPool and returns a proxy for the Task(TResult) returned by .
A Task(TResult) that represents a proxy for the Task(TResult) returned by .
The work to execute asynchronously
A cancellation token that should be used to cancel the work
The type of the result returned by the proxy task.
The parameter was null.
The task has been canceled.
The associated with was disposed.
Queues the specified work to run on the ThreadPool and returns a proxy for the task returned by .
A task that represents a proxy for the task returned by .
The work to execute asynchronously
The parameter was null.
Queues the specified work to run on the ThreadPool and returns a proxy for the task returned by .
A task that represents a proxy for the task returned by .
The work to execute asynchronously.
A cancellation token that should be used to cancel the work.
The parameter was null.
The task has been canceled.
The associated with was disposed.
Queues the specified work to run on the thread pool and returns a object that represents that work.
A task object that represents the work queued to execute in the thread pool.
The work to execute asynchronously.
The return type of the task.
The parameter is null.
Queues the specified work to run on the thread pool and returns a Task(TResult) handle for that work.
A Task(TResult) that represents the work queued to execute in the ThreadPool.
The work to execute asynchronously
A cancellation token that should be used to cancel the work
The result type of the task.
The parameter was null.
The task has been canceled.
The associated with was disposed.
Runs the synchronously on the current .
The instance has been disposed.
The is not in a valid state to be started. It may have already been started, executed, or canceled, or it may have been created in a manner that doesn't support direct scheduling.
Runs the synchronously on the provided.
The scheduler on which to attempt to run this task inline.
The instance has been disposed.
The argument is null.
The is not in a valid state to be started. It may have already been started, executed, or canceled, or it may have been created in a manner that doesn't support direct scheduling.
Starts the , scheduling it for execution to the current .
The instance has been disposed.
The is not in a valid state to be started. It may have already been started, executed, or canceled, or it may have been created in a manner that doesn't support direct scheduling.
Starts the , scheduling it for execution to the specified .
The with which to associate and execute this task.
The instance has been disposed.
The argument is null.
The is not in a valid state to be started. It may have already been started, executed, or canceled, or it may have been created in a manner that doesn't support direct scheduling.
Gets the of this task.
The current of this task instance.
Gets a that can be used to wait for the task to complete.
A that can be used to wait for the task to complete.
The has been disposed.
Gets an indication of whether the operation completed synchronously.
true if the operation completed synchronously; otherwise, false.
Waits for the to complete execution.
The has been disposed.
The task was canceled. The collection contains a object. -or-An exception was thrown during the execution of the task. The collection contains information about the exception or exceptions.
Waits for the to complete execution within a specified number of milliseconds.
true if the completed execution within the allotted time; otherwise, false.
The number of milliseconds to wait, or (-1) to wait indefinitely.
The has been disposed.
is a negative number other than -1, which represents an infinite time-out.
The task was canceled. The collection contains a object. -or-An exception was thrown during the execution of the task. The collection contains information about the exception or exceptions.
Waits for the to complete execution. The wait terminates if a timeout interval elapses or a cancellation token is canceled before the task completes.
true if the completed execution within the allotted time; otherwise, false.
The number of milliseconds to wait, or (-1) to wait indefinitely.
A cancellation token to observe while waiting for the task to complete.
The was canceled.
The has been disposed.
is a negative number other than -1, which represents an infinite time-out.
The task was canceled. The collection contains a object. -or-An exception was thrown during the execution of the task. The collection contains information about the exception or exceptions.
Waits for the to complete execution. The wait terminates if a cancellation token is canceled before the task completes.
A cancellation token to observe while waiting for the task to complete.
The was canceled.
The task has been disposed.
The task was canceled. The collection contains a object. -or-An exception was thrown during the execution of the task. The collection contains information about the exception or exceptions.
Waits for the to complete execution within a specified time interval.
true if the completed execution within the allotted time; otherwise, false.
A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely.
The has been disposed.
is a negative number other than -1 milliseconds, which represents an infinite time-out. -or- is greater than .
The task was canceled. The collection contains a object. -or-An exception was thrown during the execution of the task. The collection contains information about the exception or exceptions.
Waits for all of the provided objects to complete execution.
An array of instances on which to wait.
One or more of the objects in has been disposed.
The argument is null.-or-The argument contains a null element.
At least one of the instances was canceled. If a task was canceled, the exception contains an exception in its collection.-or-An exception was thrown during the execution of at least one of the instances.
Waits for all of the provided objects to complete execution within a specified number of milliseconds.
true if all of the instances completed execution within the allotted time; otherwise, false.
An array of instances on which to wait.
The number of milliseconds to wait, or (-1) to wait indefinitely.
One or more of the objects in has been disposed.
The argument is null.
At least one of the instances was canceled. If a task was canceled, the contains an in its collection. -or-An exception was thrown during the execution of at least one of the instances.
is a negative number other than -1, which represents an infinite time-out.
The argument contains a null element.
Waits for all of the provided objects to complete execution within a specified number of milliseconds or until the wait is cancelled.
true if all of the instances completed execution within the allotted time; otherwise, false.
An array of instances on which to wait.
The number of milliseconds to wait, or (-1) to wait indefinitely.
A to observe while waiting for the tasks to complete.
One or more of the objects in has been disposed.
The argument is null.
At least one of the instances was canceled. If a task was canceled, the contains an in its collection.-or-An exception was thrown during the execution of at least one of the instances.
is a negative number other than -1, which represents an infinite time-out.
The argument contains a null element.
The was canceled.
Waits for all of the provided objects to complete execution unless the wait is cancelled.
An array of instances on which to wait.
A to observe while waiting for the tasks to complete.
The was canceled.
The argument is null.
At least one of the instances was canceled. If a task was canceled, the contains an in its collection.-or-An exception was thrown during the execution of at least one of the instances.
The argument contains a null element.
One or more of the objects in has been disposed.
Waits for all of the provided cancellable objects to complete execution within a specified time interval.
true if all of the instances completed execution within the allotted time; otherwise, false.
An array of instances on which to wait.
A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely.
One or more of the objects in has been disposed.
The argument is null.
At least one of the instances was canceled. If a task was canceled, the contains an in its collection.-or-An exception was thrown during the execution of at least one of the instances.
is a negative number other than -1 milliseconds, which represents an infinite time-out. -or- is greater than .
The argument contains a null element.
Waits for any of the provided objects to complete execution.
The index of the completed task in the array argument.
An array of instances on which to wait.
The has been disposed.
The argument is null.
The argument contains a null element.
Waits for any of the provided objects to complete execution within a specified number of milliseconds.
The index of the completed task in the array argument, or -1 if the timeout occurred.
An array of instances on which to wait.
The number of milliseconds to wait, or (-1) to wait indefinitely.
The has been disposed.
The argument is null.
is a negative number other than -1, which represents an infinite time-out.
The argument contains a null element.
Waits for any of the provided objects to complete execution within a specified number of milliseconds or until a cancellation token is cancelled.
The index of the completed task in the array argument, or -1 if the timeout occurred.
An array of instances on which to wait.
The number of milliseconds to wait, or (-1) to wait indefinitely.
A to observe while waiting for a task to complete.
The has been disposed.
The argument is null.
is a negative number other than -1, which represents an infinite time-out.
The argument contains a null element.
The was canceled.
Waits for any of the provided objects to complete execution unless the wait is cancelled.
The index of the completed task in the array argument.
An array of instances on which to wait.
A to observe while waiting for a task to complete.
The has been disposed.
The argument is null.
The argument contains a null element.
The was canceled.
Waits for any of the provided objects to complete execution within a specified time interval.
The index of the completed task in the array argument, or -1 if the timeout occurred.
An array of instances on which to wait.
A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely.
The has been disposed.
The argument is null.
is a negative number other than -1 milliseconds, which represents an infinite time-out. -or- is greater than .
The argument contains a null element.
Creates a task that will complete when all of the objects in an enumerable collection have completed.
A task that represents the completion of all of the supplied tasks.
The tasks to wait on for completion.
The type of the completed task.
The argument was null.
The collection contained a null task.
Creates a task that will complete when all of the objects in an enumerable collection have completed.
A task that represents the completion of all of the supplied tasks.
The tasks to wait on for completion.
The argument was null.
The collection contained a null task.
Creates a task that will complete when all of the objects in an array have completed.
A task that represents the completion of all of the supplied tasks.
The tasks to wait on for completion.
The argument was null.
The array contained a null task.
Creates a task that will complete when all of the objects in an array have completed.
A task that represents the completion of all of the supplied tasks.
The tasks to wait on for completion.
The type of the completed task.
The argument was null.
The array contained a null task.
Creates a task that will complete when any of the supplied tasks have completed.
A task that represents the completion of one of the supplied tasks. The return task's Result is the task that completed.
The tasks to wait on for completion.
The type of the completed task.
The argument was null.
The array contained a null task, or was empty.
Creates a task that will complete when any of the supplied tasks have completed.
A task that represents the completion of one of the supplied tasks. The return task's Result is the task that completed.
The tasks to wait on for completion.
The argument was null.
The array contained a null task, or was empty.
Creates a task that will complete when any of the supplied tasks have completed.
A task that represents the completion of one of the supplied tasks. The return task's Result is the task that completed.
The tasks to wait on for completion.
The argument was null.
The array contained a null task, or was empty.
Creates a task that will complete when any of the supplied tasks have completed.
A task that represents the completion of one of the supplied tasks. The return task's Result is the task that completed.
The tasks to wait on for completion.
The type of the completed task.
The argument was null.
The array contained a null task, or was empty.
Creates an awaitable task that asynchronously yields back to the current context when awaited.
A context that, when awaited, will asynchronously transition back into the current context at the time of the await. If the current is non-null, it is treated as the current context. Otherwise, the task scheduler that is associated with the currently executing task is treated as the current context.
Represents an asynchronous operation that can return a value.
The type of the result produced by this .
Initializes a new with the specified function.
The delegate that represents the code to execute in the task. When the function has completed, the task's property will be set to return the result value of the function.
The argument is null.
Initializes a new with the specified function.
The delegate that represents the code to execute in the task. When the function has completed, the task's property will be set to return the result value of the function.
The to be assigned to this task.
The that created has already been disposed.
The argument is null.
Initializes a new with the specified function and creation options.
The delegate that represents the code to execute in the task. When the function has completed, the task's property will be set to return the result value of the function.
The that will be assigned to the new task.
The used to customize the task's behavior.
The that created has already been disposed.
The argument specifies an invalid value for .
The argument is null.
Initializes a new with the specified function and creation options.
The delegate that represents the code to execute in the task. When the function has completed, the task's property will be set to return the result value of the function.
The used to customize the task's behavior.
The argument specifies an invalid value for .
The argument is null.
Initializes a new with the specified function and state.
The delegate that represents the code to execute in the task. When the function has completed, the task's property will be set to return the result value of the function.
An object representing data to be used by the action.
The argument is null.
Initializes a new with the specified action, state, and options.
The delegate that represents the code to execute in the task. When the function has completed, the task's property will be set to return the result value of the function.
An object representing data to be used by the function.
The to be assigned to the new task.
The that created has already been disposed.
The argument is null.
Initializes a new with the specified action, state, and options.
The delegate that represents the code to execute in the task. When the function has completed, the task's property will be set to return the result value of the function.
An object representing data to be used by the function.
The to be assigned to the new task.
The used to customize the task's behavior.
The that created has already been disposed.
The argument specifies an invalid value for .
The argument is null.
Initializes a new with the specified action, state, and options.
The delegate that represents the code to execute in the task. When the function has completed, the task's property will be set to return the result value of the function.
An object representing data to be used by the function.
The used to customize the task's behavior.
The argument specifies an invalid value for .
The argument is null.
Configures an awaiter used to await this .
An object used to await this task.
true to attempt to marshal the continuation back to the original context captured; otherwise, false.
Creates a continuation that executes asynchronously when the target task completes.
A new continuation task.
An action to run when the antecedent completes. When run, the delegate will be passed the completed task as an argument.
The has been disposed.
The argument is null.
Creates a cancelable continuation that executes asynchronously when the target completes.
A new continuation task.
An action to run when the completes. When run, the delegate is passed the completed task as an argument.
The cancellation token that is passed to the new continuation task.
The has been disposed.-or-The that created has been disposed.
The argument is null.
Creates a continuation that executes according the condition specified in .
A new continuation .
An action to run according the condition specified in . When run, the delegate will be passed the completed task as an argument.
The that will be assigned to the new continuation task.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The to associate with the continuation task and to use for its execution.
The has been disposed.-or-The that created has already been disposed.
The argument is null.-or-The argument is null.
The argument specifies an invalid value for .
Creates a continuation that executes according the condition specified in .
A new continuation .
An action to according the condition specified in . When run, the delegate will be passed the completed task as an argument.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The has been disposed.
The argument is null.
The argument specifies an invalid value for .
Creates a continuation that executes asynchronously when the target completes.
A new continuation .
An action to run when the completes. When run, the delegate will be passed the completed task as an argument.
The to associate with the continuation task and to use for its execution.
The has been disposed.
The argument is null.-or-The argument is null.
Creates a continuation that that is passed state information and that executes when the target completes.
A new continuation .
An action to run when the completes. When run, the delegate is passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
The argument is null.
Creates a continuation that executes when the target completes.
A new continuation .
An action to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
The that will be assigned to the new continuation task.
The argument is null.
The provided has already been disposed.
Creates a continuation that executes when the target completes.
A new continuation .
An action to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
The that will be assigned to the new continuation task.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The to associate with the continuation task and to use for its execution.
The argument is null.
The argument specifies an invalid value for .
The argument is null.
The provided has already been disposed.
Creates a continuation that executes when the target completes.
A new continuation .
An action to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The argument is null.
The argument specifies an invalid value for .
Creates a continuation that executes when the target completes.
A new continuation .
An action to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation action.
The to associate with the continuation task and to use for its execution.
The argument is null.
The argument is null.
Creates a continuation that executes asynchronously when the target completes.
A new continuation .
A function to run when the completes. When run, the delegate will be passed the completed task as an argument.
The type of the result produced by the continuation.
The has been disposed.
The argument is null.
Creates a continuation that executes asynchronously when the target completes.
A new continuation .
A function to run when the completes. When run, the delegate will be passed the completed task as an argument.
The that will be assigned to the new task.
The type of the result produced by the continuation.
The has been disposed.-or-The that created has already been disposed.
The argument is null.
Creates a continuation that executes according the condition specified in .
A new continuation .
A function to run according the condition specified in .When run, the delegate will be passed as an argument this completed task.
The that will be assigned to the new task.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The to associate with the continuation task and to use for its execution.
The type of the result produced by the continuation.
The has been disposed.-or-The that created has already been disposed.
The argument is null.-or-The argument is null.
The argument specifies an invalid value for .
Creates a continuation that executes according the condition specified in .
A new continuation .
A function to run according the condition specified in .When run, the delegate will be passed the completed task as an argument.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The type of the result produced by the continuation.
The has been disposed.
The argument is null.
The argument specifies an invalid value for .
Creates a continuation that executes asynchronously when the target completes.
A new continuation .
A function to run when the completes. When run, the delegate will be passed the completed task as an argument.
The to associate with the continuation task and to use for its execution.
The type of the result produced by the continuation.
The has been disposed.
The argument is null.-or-The argument is null.
Creates a continuation that executes when the target completes.
A new continuation .
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
The type of the result produced by the continuation.
The argument is null.
Creates a continuation that executes when the target completes.
A new continuation .
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
The that will be assigned to the new task.
The type of the result produced by the continuation.
The argument is null.
The provided has already been disposed.
Creates a continuation that executes when the target completes.
A new continuation .
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
The that will be assigned to the new task.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The to associate with the continuation task and to use for its execution.
The type of the result produced by the continuation.
The argument is null.
The argument specifies an invalid value for .
The argument is null.
The provided has already been disposed.
Creates a continuation that executes when the target completes.
A new continuation .
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
Options for when the continuation is scheduled and how it behaves. This includes criteria, such as , as well as execution options, such as .
The type of the result produced by the continuation.
The argument is null.
The argument specifies an invalid value for .
Creates a continuation that executes when the target completes.
A new continuation .
A function to run when the completes. When run, the delegate will be passed the completed task and the caller-supplied state object as arguments.
An object representing data to be used by the continuation function.
The to associate with the continuation task and to use for its execution.
The type of the result produced by the continuation.
The argument is null.
The argument is null.
Provides access to factory methods for creating and configuring instances.
A factory object that can create a variety of objects.
Gets an awaiter used to await this .
An awaiter instance.
Gets the result value of this .
The result value of this , which is the same type as the task's type parameter.
The task was canceled. The collection contains a object. -or-An exception was thrown during the execution of the task. The collection contains information about the exception or exceptions.
Represents an exception used to communicate task cancellation.
Initializes a new instance of the class with a system-supplied message that describes the error.
Initializes a new instance of the class with a specified message that describes the error.
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception.
Initializes a new instance of the class with a reference to the that has been canceled.
A task that has been canceled.
Gets the task associated with this exception.
A reference to the that is associated with this exception.
Represents the producer side of a unbound to a delegate, providing access to the consumer side through the property.
The type of the result value assocatied with this .
Creates a .
Creates a with the specified state.
The state to use as the underlying 's AsyncState.
Creates a with the specified state and options.
The state to use as the underlying 's AsyncState.
The options to use when creating the underlying .
The represent options invalid for use with a .
Creates a with the specified options.
The options to use when creating the underlying .
The represent options invalid for use with a .
Transitions the underlying into the state.
The underlying is already in one of the three final states: , , or , or if the underlying has already been disposed.
Transitions the underlying into the state.
The collection of exceptions to bind to this .
The was disposed.
The argument is null.
There are one or more null elements in .
The underlying is already in one of the three final states: , , or .
Transitions the underlying into the state.
The exception to bind to this .
The was disposed.
The argument is null.
The underlying is already in one of the three final states: , , or .
Transitions the underlying into the state.
The result value to bind to this .
The was disposed.
The underlying is already in one of the three final states: , , or .
Gets the created by this .
Returns the created by this .
Attempts to transition the underlying into the state.
True if the operation was successful; false if the operation was unsuccessful or the object has already been disposed.
Attempts to transition the underlying into the state and enables a cancellation token to be stored in the canceled task.
true if the operation is successful; otherwise, false.
A cancellation token.
Attempts to transition the underlying into the state.
True if the operation was successful; otherwise, false.
The collection of exceptions to bind to this .
The was disposed.
The argument is null.
There are one or more null elements in .-or-The collection is empty.
Attempts to transition the underlying into the state.
True if the operation was successful; otherwise, false.
The exception to bind to this .
The was disposed.
The argument is null.
Attempts to transition the underlying into the state.
True if the operation was successful; otherwise, false.
The result value to bind to this .
Specifies the behavior for a task that is created by using the or method.
Specifies that the continuation, if it is a child task, is attached to a parent in the task hierarchy. The continuation can be a child task only if its antecedent is also a child task. By default, a child task (that is, an inner task created by an outer task) executes independently of its parent. You can use the option so that the parent and child tasks are synchronized. Note that if a parent task is configured with the option, the option in the child task has no effect, and the child task will execute as a detached child task. For more information, see Attached and Detached Child Tasks.
Specifies that any child task (that is, any nested inner task created by this continuation) that is created with the option and attempts to execute as an attached child task will not be able to attach to the parent task and will execute instead as a detached child task. For more information, see Attached and Detached Child Tasks.
Specifies that the continuation task should be executed synchronously. With this option specified, the continuation runs on the same thread that causes the antecedent task to transition into its final state. If the antecedent is already complete when the continuation is created, the continuation will run on the thread that creates the continuation. If the antecedent's is disposed in a finally block (Finally in Visual Basic), a continuation with this option will run in that finally block. Only very short-running continuations should be executed synchronously. Because the task executes synchronously, there is no need to call a method such as to ensure that the calling thread waits for the task to complete.
Specifies that tasks created by the continuation by calling methods such as or see the default scheduler () rather than the scheduler on which this continuation is running to be the current scheduler.
In the case of continuation cancellation, prevents completion of the continuation until the antecedent has completed.
Specifies that a continuation will be a long-running, course-grained operation. It provides a hint to the that oversubscription may be warranted.
When no continuation options are specified, specifies that default behavior should be used when executing a continuation. The continuation runs asynchronously when the antecedent task completes, regardless of the antecedent's final property value. It the continuation is a child task, it is created as a detached nested task.
Specifies that the continuation task should not be scheduled if its antecedent was canceled. An antecedent is canceled if its property upon completion is . This option is not valid for multi-task continuations.
Specifies that the continuation task should not be scheduled if its antecedent threw an unhandled exception. An antecedent throws an unhandled exception if its property upon completion is . This option is not valid for multi-task continuations.
Specifies that the continuation task should not be scheduled if its antecedent ran to completion. An antecedent runs to completion if its property upon completion is . This option is not valid for multi-task continuations.
Specifies that the continuation should be scheduled only if its antecedent was canceled. An antecedent is canceled if its property upon completion is . This option is not valid for multi-task continuations.
Specifies that the continuation task should be scheduled only if its antecedent threw an unhandled exception. An antecedent throws an unhandled exception if its property upon completion is . The option guarantees that the property in the antecedent is not null. You can use that property to catch the exception and see which exception caused the task to fault. If you do not access the property, the exception is unhandled. Also, if you attempt to access the property of a task that has been canceled or has faulted, a new exception is thrown. This option is not valid for multi-task continuations.
Specifies that the continuation should be scheduled only if its antecedent ran to completion. An antecedent runs to completion if its property upon completion is . This option is not valid for multi-task continuations.
A hint to a to schedule task in the order in which they were scheduled, so that tasks scheduled sooner are more likely to run sooner, and tasks scheduled later are more likely to run later.
Specifies that the continuation task should be run asynchronously. This option has precedence over .
Specifies flags that control optional behavior for the creation and execution of tasks.
Specifies that a task is attached to a parent in the task hierarchy. By default, a child task (that is, an inner task created by an outer task) executes independently of its parent. You can use the option so that the parent and child tasks are synchronized. Note that if a parent task is configured with the option, the option in the child task has no effect, and the child task will execute as a detached child task. For more information, see Attached and Detached Child Tasks.
Specifies that any child task that attempts to execute as an attached child task (that is, it is created with the option) will not be able to attach to the parent task and will execute instead as a detached child task. For more information, see Attached and Detached Child Tasks.
Prevents the ambient scheduler from being seen as the current scheduler in the created task. This means that operations like StartNew or ContinueWith that are performed in the created task will see as the current scheduler.
Specifies that a task will be a long-running, coarse-grained operation involving fewer, larger components than fine-grained systems. It provides a hint to the that oversubscription may be warranted. Oversubscription lets you create more threads than the available number of hardware threads.
Specifies that the default behavior should be used.
A hint to a to schedule a task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to be run sooner, and tasks scheduled later will be more likely to be run later.
Forces continuations added to the current task to be executed asynchronously.
Provides a set of static (Shared in Visual Basic) methods for working with specific kinds of instances.
Creates a proxy that represents the asynchronous operation of a Task<Task<T>> (C#) or Task (Of Task(Of T)) (Visual Basic).
A that represents the asynchronous operation of the provided Task<Task<T>> (C#) or Task (Of Task(Of T)) (Visual Basic).
The Task<Task<T>> (C#) or Task (Of Task(Of T)) (Visual Basic) to unwrap.
The type of the task's result.
The exception that is thrown if the argument is null.
Creates a proxy that represents the asynchronous operation of a .
A Task that represents the asynchronous operation of the provided System.Threading.Tasks.Task(Of Task).
The Task<Task> (C#) or Task (Of Task) (Visual Basic) to unwrap.
The exception that is thrown if the argument is null.
Provides support for creating and scheduling objects.
Initializes a instance with the default configuration.
Initializes a instance with the specified configuration.
The that will be assigned to tasks created by this unless another CancellationToken is explicitly specified while calling the factory methods.
Initializes a instance with the specified configuration.
The default that will be assigned to tasks created by this unless another CancellationToken is explicitly specified while calling the factory methods.
The default to use when creating tasks with this TaskFactory.
The default to use when creating continuation tasks with this TaskFactory.
The default to use to schedule any Tasks created with this TaskFactory. A null value indicates that TaskScheduler.Current should be used.
The argument specifies an invalid value. For more information, see the Remarks for . -or-The argument specifies an invalid value.
Initializes a instance with the specified configuration.
The default to use when creating tasks with this TaskFactory.
The default to use when creating continuation tasks with this TaskFactory.
The argument specifies an invalid value. For more information, see the Remarks for . -or-The argument specifies an invalid value.
Initializes a instance with the specified configuration.
The to use to schedule any tasks created with this TaskFactory. A null value indicates that the current TaskScheduler should be used.
Gets the default cancellation token for this task factory.
The default task cancellation token for this task factory.
Gets the default task continuation options for this task factory.
The default task continuation options for this task factory.
Creates a continuation task that starts when a set of specified tasks has completed.
The new continuation task.
The array of tasks from which to continue.
The action delegate to execute when all tasks in the array have completed.
An element in the array has been disposed.
The array is null.-or-The argument is null.
The array is empty or contains a null value.
Creates a continuation task that starts when a set of specified tasks has completed.
The new continuation task.
The array of tasks from which to continue.
The action delegate to execute when all tasks in the array have completed.
The cancellation token to assign to the new continuation task.
An element in the array has been disposed.-or-The that created has already been disposed.
The array is null.-or-The argument is null.
The array is empty or contains a null value.
Creates a continuation task that starts when a set of specified tasks has completed.
The new continuation task.
The array of tasks from which to continue.
The action delegate to execute when all tasks in the array have completed.
The cancellation token to assign to the new continuation task.
A bitwise combination of the enumeration values that control the behavior of the new continuation task.
The object that is used to schedule the new continuation task.
The array is null.-or-The argument is null.-or-The argument is null.
The array is empty or contains a null value.
Creates a continuation task that starts when a set of specified tasks has completed.
The new continuation task.
The array of tasks from which to continue.
The action delegate to execute when all tasks in the array have completed.
A bitwise combination of the enumeration values that control the behavior of the new continuation task. The NotOn* and OnlyOn* members are not supported.
An element in the array has been disposed.
The array is null.-or-The argument is null.
The argument specifies an invalid value.
The array is empty or contains a null value.
Creates a continuation task that starts when a set of specified tasks has completed.
The new continuation task.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The type of the result that is returned by the delegate and associated with the created task.
An element in the array has been disposed.
The array is null.-or-The argument is null.
The array is empty or contains a null value.
Creates a continuation task that starts when a set of specified tasks has completed.
The new continuation task.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The cancellation token to assign to the new continuation task.
The type of the result that is returned by the delegate and associated with the created task.
An element in the array has been disposed.-or-The that created has already been disposed.
The array is null.-or-The argument is null.
The array is empty or contains a null value.
Creates a continuation task that starts when a set of specified tasks has completed.
The new continuation task.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The cancellation token to assign to the new continuation task.
A bitwise combination of the enumeration values that control the behavior of the new continuation task. The NotOn* and OnlyOn* members are not supported.
The object that is used to schedule the new continuation task.
The type of the result that is returned by the delegate and associated with the created task.
The array is null.-or-The argument is null.-or-The argument is null.
The array is empty or contains a null value.
Creates a continuation task that starts when a set of specified tasks has completed.
The new continuation task.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
A bitwise combination of the enumeration values that control the behavior of the new continuation task. The NotOn* and OnlyOn* members are not supported.
The type of the result that is returned by the delegate and associated with the created task.
An element in the array has been disposed.
The array is null.-or-The argument is null.
The argument specifies an invalid value.
The array is empty or contains a null value.
Creates a continuation task that starts when a set of specified tasks has completed.
The new continuation task.
The array of tasks from which to continue.
The action delegate to execute when all tasks in the array have completed.
The type of the result of the antecedent .
An element in the array has been disposed.
The array is null.-or-The argument is null.
The array is empty or contains a null value.
Creates a continuation task that starts when a set of specified tasks has completed.
The new continuation task.
The array of tasks from which to continue.
The action delegate to execute when all tasks in the array have completed.
The cancellation token to assign to the new continuation task.
The type of the result of the antecedent .
An element in the array has been disposed.-or-The that created has already been disposed.
The array is null.-or-The argument is null.
The array is empty or contains a null value.
Creates a continuation task that starts when a set of specified tasks has completed.
The new continuation task.
The array of tasks from which to continue.
The action delegate to execute when all tasks in the array have completed.
The cancellation token to assign to the new continuation task.
A bitwise combination of the enumeration values that control the behavior of the new continuation task. The NotOn* and OnlyOn* members are not supported.
The object that is used to schedule the new continuation task.
The type of the result of the antecedent .
The array is null.-or-The argument is null.-or-The argument is null.
The array is empty or contains a null value.
Creates a continuation task that starts when a set of specified tasks has completed.
The new continuation task.
The array of tasks from which to continue.
The action delegate to execute when all tasks in the array have completed.
A bitwise combination of the enumeration values that control the behavior of the new continuation task. The NotOn* and OnlyOn* members are not supported.
The type of the result of the antecedent .
An element in the array has been disposed.
The array is null.-or-The argument is null.
The argument specifies an invalid value.
The array is empty or contains a null value.
Creates a continuation task that starts when a set of specified tasks has completed.
The new continuation task.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The type of the result of the antecedent .
The type of the result that is returned by the delegate and associated with the created task.
An element in the array has been disposed.
The array is null.-or-The argument is null.
The array is empty or contains a null value.
Creates a continuation task that starts when a set of specified tasks has completed.
The new continuation task.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The cancellation token to assign to the new continuation task.
The type of the result of the antecedent .
The type of the result that is returned by the delegate and associated with the created task.
An element in the array has been disposed.-or-The that created has already been disposed.
The array is null.-or-The argument is null.
The array is empty or contains a null value.
Creates a continuation task that starts when a set of specified tasks has completed.
The new continuation task.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The cancellation token to assign to the new continuation task.
A bitwise combination of the enumeration values that control the behavior of the new continuation task. The NotOn* and OnlyOn* members are not supported.
The object that is used to schedule the new continuation task.
The type of the result of the antecedent .
The type of the result that is returned by the delegate and associated with the created task.
The array is null.-or-The argument is null.-or-The argument is null.
The array is empty or contains a null value.
The argument specifies an invalid value.
An element in the array has been disposed.-or-The that created has already been disposed.
Creates a continuation task that starts when a set of specified tasks has completed.
The new continuation task.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
A bitwise combination of the enumeration values that control the behavior of the new continuation task. The NotOn* and OnlyOn* members are not supported.
The type of the result of the antecedent .
The type of the result that is returned by the delegate and associated with the created task.
An element in the array has been disposed.
The array is null.-or-The argument is null.
The argument specifies an invalid value.
The array is empty or contains a null value.
Creates a continuation that will be started upon the completion of any Task in the provided set.
The new continuation .
The array of tasks from which to continue when one task completes.
The action delegate to execute when one task in the array completes.
One of the elements in the array has been disposed.
The array is null. -or-The The argument is null.
The array contains a null value. -or-The array is empty.
Creates a continuation that will be started upon the completion of any Task in the provided set.
The new continuation .
The array of tasks from which to continue when one task completes.
The action delegate to execute when one task in the array completes.
The that will be assigned to the new continuation task.
One of the elements in the array has been disposed. -or- has already been disposed.
The array is null. -or-The argument is null.
The array contains a null value. -or-The array is empty .
Creates a continuation that will be started upon the completion of any Task in the provided set.
The new continuation .
The array of tasks from which to continue when one task completes.
The action delegate to execute when one task in the array completes.
The that will be assigned to the new continuation task.
The value that controls the behavior of the created continuation .
The that is used to schedule the created continuation .
The exception that is thrown when the array is null.-or-The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the array contains a null value.-or-The exception that is thrown when the array is empty.
Creates a continuation that will be started upon the completion of any Task in the provided set.
The new continuation .
The array of tasks from which to continue when one task completes.
The action delegate to execute when one task in the array completes.
The value that controls the behavior of the created continuation .
The exception that is thrown when one of the elements in the array has been disposed.
The exception that is thrown when the array is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskContinuationOptions value.
The exception that is thrown when the array contains a null value.-or-The exception that is thrown when the array is empty.
Creates a continuation that will be started upon the completion of any Task in the provided set.
The new continuation .
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The type of the result that is returned by the delegate and associated with the created .
The exception that is thrown when one of the elements in the array has been disposed.
The exception that is thrown when the array is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the array contains a null value.-or-The exception that is thrown when the array is empty.
Creates a continuation that will be started upon the completion of any Task in the provided set.
The new continuation .
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The that will be assigned to the new continuation task.
The type of the result that is returned by the delegate and associated with the created .
The exception that is thrown when one of the elements in the array has been disposed.-or-The provided has already been disposed.
The exception that is thrown when the array is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the array contains a null value.-or-The exception that is thrown when the array is empty.
Creates a continuation that will be started upon the completion of any Task in the provided set.
The new continuation .
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The that will be assigned to the new continuation task.
The value that controls the behavior of the created continuation .
The that is used to schedule the created continuation .
The type of the result that is returned by the delegate and associated with the created .
The exception that is thrown when the array is null.-or-The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the array contains a null value.-or-The exception that is thrown when the array is empty.
Creates a continuation that will be started upon the completion of any Task in the provided set.
The new continuation .
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The value that controls the behavior of the created continuation .
The type of the result that is returned by the delegate and associated with the created .
The exception that is thrown when one of the elements in the array has been disposed.
The exception that is thrown when the array is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskContinuationOptions value.
The exception that is thrown when the array contains a null value.-or-The exception that is thrown when the array is empty.
Creates a continuation that will be started upon the completion of any Task in the provided set.
The new continuation .
The array of tasks from which to continue when one task completes.
The action delegate to execute when one task in the array completes.
The type of the result of the antecedent .
The exception that is thrown when one of the elements in the array has been disposed.
The exception that is thrown when the array is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the array contains a null value.-or-The exception that is thrown when the array is empty.
Creates a continuation that will be started upon the completion of any Task in the provided set.
The new continuation .
The array of tasks from which to continue when one task completes.
The action delegate to execute when one task in the array completes.
The that will be assigned to the new continuation task.
The type of the result of the antecedent .
The exception that is thrown when one of the elements in the array has been disposed.-or-The provided has already been disposed.
The exception that is thrown when the array is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the array contains a null value.-or-The exception that is thrown when the array is empty.
Creates a continuation that will be started upon the completion of any Task in the provided set.
The new continuation .
The array of tasks from which to continue when one task completes.
The action delegate to execute when one task in the array completes.
The that will be assigned to the new continuation task.
The value that controls the behavior of the created continuation .
The that is used to schedule the created continuation .
The type of the result of the antecedent .
The exception that is thrown when the array is null.-or-The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the array contains a null value.-or-The exception that is thrown when the array is empty.
Creates a continuation that will be started upon the completion of any Task in the provided set.
The new continuation .
The array of tasks from which to continue when one task completes.
The action delegate to execute when one task in the array completes.
The value that controls the behavior of the created continuation .
The type of the result of the antecedent .
The exception that is thrown when one of the elements in the array has been disposed.
The exception that is thrown when the array is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskContinuationOptions value.
The exception that is thrown when the array contains a null value.-or-The exception that is thrown when the array is empty.
Creates a continuation that will be started upon the completion of any Task in the provided set.
The new continuation .
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The type of the result of the antecedent .
The type of the result that is returned by the delegate and associated with the created .
The exception that is thrown when one of the elements in the array has been disposed.
The exception that is thrown when the array is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the array contains a null value.-or-The exception that is thrown when the array is empty.
Creates a continuation that will be started upon the completion of any Task in the provided set.
The new continuation .
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The that will be assigned to the new continuation task.
The type of the result of the antecedent .
The type of the result that is returned by the delegate and associated with the created .
The exception that is thrown when one of the elements in the array has been disposed.-or-The provided has already been disposed.
The exception that is thrown when the array is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the array contains a null value.-or-The exception that is thrown when the array is empty.
Creates a continuation that will be started upon the completion of any Task in the provided set.
The new continuation .
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The that will be assigned to the new continuation task.
The value that controls the behavior of the created continuation .
The that is used to schedule the created continuation .
The type of the result of the antecedent .
The type of the result that is returned by the delegate and associated with the created .
The exception that is thrown when the array is null.-or-The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the array contains a null value.-or-The exception that is thrown when the array is empty.
Creates a continuation that will be started upon the completion of any Task in the provided set.
The new continuation .
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The value that controls the behavior of the created continuation .
The type of the result of the antecedent .
The type of the result that is returned by the delegate and associated with the created .
The exception that is thrown when one of the elements in the array has been disposed.
The exception that is thrown when the array is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskContinuationOptions value.
The exception that is thrown when the array contains a null value.-or-The exception that is thrown when the array is empty.
Gets the default task creation options for this task factory.
The default task creation options for this task factory.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
An object containing data to be used by the delegate.
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
An object containing data to be used by the delegate.
The TaskCreationOptions value that controls the behavior of the created .
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
An object containing data to be used by the delegate.
The type of the result available through the .
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
An object containing data to be used by the delegate.
The TaskCreationOptions value that controls the behavior of the created .
The type of the result available through the .
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
An object containing data to be used by the delegate.
The type of the first argument passed to the delegate.
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
An object containing data to be used by the delegate.
The TaskCreationOptions value that controls the behavior of the created .
The type of the first argument passed to the delegate.
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
An object containing data to be used by the delegate.
The type of the first argument passed to the delegate.
The type of the result available through the .
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
An object containing data to be used by the delegate.
The TaskCreationOptions value that controls the behavior of the created .
The type of the first argument passed to the delegate.
The type of the result available through the .
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
An object containing data to be used by the delegate.
The type of the second argument passed to delegate.
The type of the first argument passed to the delegate.
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
An object containing data to be used by the delegate.
The TaskCreationOptions value that controls the behavior of the created .
The type of the second argument passed to delegate.
The type of the first argument passed to the delegate.
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
An object containing data to be used by the delegate.
The type of the second argument passed to delegate.
The type of the first argument passed to the delegate.
The type of the result available through the .
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
An object containing data to be used by the delegate.
The TaskCreationOptions value that controls the behavior of the created .
The type of the second argument passed to delegate.
The type of the first argument passed to the delegate.
The type of the result available through the .
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
The third argument passed to the delegate.
An object containing data to be used by the delegate.
The type of the second argument passed to delegate.
The type of the third argument passed to delegate.
The type of the first argument passed to the delegate.
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
The third argument passed to the delegate.
An object containing data to be used by the delegate.
The TaskCreationOptions value that controls the behavior of the created .
The type of the second argument passed to delegate.
The type of the third argument passed to delegate.
The type of the first argument passed to the delegate.
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
The third argument passed to the delegate.
An object containing data to be used by the delegate.
The type of the second argument passed to delegate.
The type of the third argument passed to delegate.
The type of the first argument passed to the delegate.
The type of the result available through the .
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
Creates a that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
The third argument passed to the delegate.
An object containing data to be used by the delegate.
The TaskCreationOptions value that controls the behavior of the created .
The type of the second argument passed to delegate.
The type of the third argument passed to delegate.
The type of the first argument passed to the delegate.
The type of the result available through the .
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
Creates a that executes an end method action when a specified completes.
A that represents the asynchronous operation.
The IAsyncResult whose completion should trigger the processing of the .
The action delegate that processes the completed .
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
Creates a that executes an end method action when a specified completes.
A that represents the asynchronous operation.
The IAsyncResult whose completion should trigger the processing of the .
The action delegate that processes the completed .
The TaskCreationOptions value that controls the behavior of the created .
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
Creates a that executes an end method action when a specified completes.
The created that represents the asynchronous operation.
The IAsyncResult whose completion should trigger the processing of the .
The action delegate that processes the completed .
The TaskCreationOptions value that controls the behavior of the created .
The that is used to schedule the task that executes the end method.
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
Creates a that executes an end method function when a specified completes.
A that represents the asynchronous operation.
The IAsyncResult whose completion should trigger the processing of the .
The function delegate that processes the completed .
The type of the result available through the .
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
Creates a that executes an end method function when a specified completes.
A that represents the asynchronous operation.
The IAsyncResult whose completion should trigger the processing of the .
The function delegate that processes the completed .
The TaskCreationOptions value that controls the behavior of the created .
The type of the result available through the .
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
Creates a that executes an end method function when a specified completes.
A that represents the asynchronous operation.
The IAsyncResult whose completion should trigger the processing of the .
The function delegate that processes the completed .
The TaskCreationOptions value that controls the behavior of the created .
The that is used to schedule the task that executes the end method.
The type of the result available through the .
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
Gets the default task scheduler for this task factory.
The default task scheduler for this task factory.
Creates and starts a task.
The started task.
The action delegate to execute asynchronously.
The argument is null.
Creates and starts a .
The started .
The action delegate to execute asynchronously.
The that will be assigned to the new task.
The provided has already been disposed.
The exception that is thrown when the argument is null.
Creates and starts a .
The started .
The action delegate to execute asynchronously.
The that will be assigned to the new
A TaskCreationOptions value that controls the behavior of the created
The that is used to schedule the created .
The provided has already been disposed.
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
Creates and starts a .
The started .
The action delegate to execute asynchronously.
A TaskCreationOptions value that controls the behavior of the created
The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value.
Creates and starts a .
The started .
The action delegate to execute asynchronously.
An object containing data to be used by the delegate.
The argument is null.
Creates and starts a .
The started .
The action delegate to execute asynchronously.
An object containing data to be used by the delegate.
The that will be assigned to the new
The provided has already been disposed.
The exception that is thrown when the argument is null.
Creates and starts a .
The started .
The action delegate to execute asynchronously.
An object containing data to be used by the delegate.
The that will be assigned to the new task.
A TaskCreationOptions value that controls the behavior of the created
The that is used to schedule the created .
The provided has already been disposed.
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
Creates and starts a .
The started .
The action delegate to execute asynchronously.
An object containing data to be used by the delegate.
A TaskCreationOptions value that controls the behavior of the created
The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value.
Creates and starts a .
The started .
A function delegate that returns the future result to be available through the .
The type of the result available through the .
The argument is null.
Creates and starts a .
The started .
A function delegate that returns the future result to be available through the .
The that will be assigned to the new
The type of the result available through the .
The provided has already been disposed.
The exception that is thrown when the argument is null.
Creates and starts a .
The started .
A function delegate that returns the future result to be available through the .
The that will be assigned to the new task.
A TaskCreationOptions value that controls the behavior of the created .
The that is used to schedule the created .
The type of the result available through the .
The provided has already been disposed.
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
Creates and starts a .
The started .
A function delegate that returns the future result to be available through the .
A TaskCreationOptions value that controls the behavior of the created .
The type of the result available through the .
The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
Creates and starts a .
The started .
A function delegate that returns the future result to be available through the .
An object containing data to be used by the delegate.
The type of the result available through the .
The exception that is thrown when the argument is null.
Creates and starts a .
The started .
A function delegate that returns the future result to be available through the .
An object containing data to be used by the delegate.
The that will be assigned to the new
The type of the result available through the .
The provided has already been disposed.
The exception that is thrown when the argument is null.
Creates and starts a .
The started .
A function delegate that returns the future result to be available through the .
An object containing data to be used by the delegate.
The that will be assigned to the new task.
A TaskCreationOptions value that controls the behavior of the created .
The that is used to schedule the created .
The type of the result available through the .
The provided has already been disposed.
The exception that is thrown when the argument is null.-or-The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
Creates and starts a .
The started .
A function delegate that returns the future result to be available through the .
An object containing data to be used by the delegate.
A TaskCreationOptions value that controls the behavior of the created .
The type of the result available through the .
The exception that is thrown when the argument is null.
The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. The exception that is thrown when the argument specifies an invalid TaskCreationOptions value. For more information, see the Remarks for
Provides support for creating and scheduling objects.
The return value of the objects that the methods of this class create.
Initializes a instance with the default configuration.
Initializes a instance with the default configuration.
The default cancellation token that will be assigned to tasks created by this unless another cancellation token is explicitly specified when calling the factory methods.
Initializes a instance with the specified configuration.
The default cancellation token that will be assigned to tasks created by this unless another cancellation token is explicitly specified when calling the factory methods.
The default options to use when creating tasks with this .
The default options to use when creating continuation tasks with this .
The default scheduler to use to schedule any tasks created with this . A null value indicates that should be used.
or specifies an invalid value.
Initializes a instance with the specified configuration.
The default options to use when creating tasks with this .
The default options to use when creating continuation tasks with this .
or specifies an invalid value.
Initializes a instance with the specified configuration.
The scheduler to use to schedule any tasks created with this . A null value indicates that the current should be used.
Gets the default cancellation token for this task factory.
The default cancellation token for this task factory.
Gets the enumeration value for this task factory.
One of the enumeration values that specifies the default continuation options for this task factory.
Creates a continuation task that will be started upon the completion of a set of provided tasks.
The new continuation task.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
One of the elements in the array has been disposed.
array is null.-or-The is null.
The array contains a null value or is empty.
Creates a continuation task that will be started upon the completion of a set of provided tasks.
The new continuation task.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The cancellation token that will be assigned to the new continuation task.
One of the elements in the array has been disposed.-or-The that created has already been disposed.
The array is null.-or- is null.
The array contains a null value or is empty.
Creates a continuation task that will be started upon the completion of a set of provided Tasks.
The new continuation task.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The cancellation token that will be assigned to the new continuation task.
One of the enumeration values that controls the behavior of the created continuation task. The NotOn* or OnlyOn* values are not valid.
The scheduler that is used to schedule the created continuation task.
The array is null.-or-The argument is null.-or-The argument is null.
The array contains a null value or is empty.
specifies an invalid value.
One of the elements in the array has been disposed.-or-The that created has already been disposed.
Creates a continuation task that will be started upon the completion of a set of provided Tasks.
The new continuation task.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
One of the enumeration values that controls the behavior of the created continuation task. The NotOn* or OnlyOn* values are not valid.
One of the elements in the array has been disposed.
The array is null.-or-The argument is null.
The argument specifies an invalid value.
The array contains a null value or is empty.
Creates a continuation task that will be started upon the completion of a set of provided tasks.
The new continuation task.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The type of the result of the antecedent .
One of the elements in the array has been disposed.
The array is null.-or-The argument is null.
The array contains a null value or is empty.
Creates a continuation task that will be started upon the completion of a set of provided tasks.
The new continuation task.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The cancellation token that will be assigned to the new continuation task.
The type of the result of the antecedent .
One of the elements in the array has been disposed.-or-The that created has already been disposed.
The array is null.-or-The argument is null.
The array contains a null value or is empty.
Creates a continuation task that will be started upon the completion of a set of provided tasks.
The new continuation task.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
The cancellation token that will be assigned to the new continuation task.
One of the enumeration values that controls the behavior of the created continuation task. The NotOn* or OnlyOn* values are not valid.
The scheduler that is used to schedule the created continuation task.
The type of the result of the antecedent .
The array is null.-or-The argument is null.-or-The argument is null.
The array contains a null value or is empty.
The argument specifies an invalid value.
One of the elements in the array has been disposed.-or-The that created has already been disposed.
Creates a continuation task that will be started upon the completion of a set of provided tasks.
The new continuation task.
The array of tasks from which to continue.
The function delegate to execute asynchronously when all tasks in the array have completed.
One of the enumeration values that controls the behavior of the created continuation task. The NotOn* or OnlyOn* values are not valid.
The type of the result of the antecedent .
One of the elements in the array has been disposed.
The array is null.-or-The argument is null.
The argument specifies an invalid value.
The array contains a null value or is empty.
Creates a continuation task that will be started upon the completion of any task in the provided set.
The new continuation task.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
One of the elements in the array has been disposed.
The array is null.-or-The argument is null.
The array contains a null value or is empty.
Creates a continuation task that will be started upon the completion of any task in the provided set.
The new continuation task.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The cancellation token that will be assigned to the new continuation task.
One of the elements in the array has been disposed.-or-The that created has already been disposed.
The array is null.-or-The argument is null.
The array contains a null value.-or-The array is empty.
Creates a continuation task that will be started upon the completion of any task in the provided set.
The new continuation task.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The cancellation token that will be assigned to the new continuation task.
One of the enumeration values that controls the behavior of the created continuation task. The NotOn* or OnlyOn* values are not valid.
The task scheduler that is used to schedule the created continuation task.
The array is null.-or-The argument is null.-or-The argument is null.
The array contains a null value.-or-The array is empty.
The argument specifies an invalid value.
One of the elements in the array has been disposed.-or-The that created has already been disposed.
Creates a continuation task that will be started upon the completion of any task in the provided set.
The new continuation task.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
One of the enumeration values that controls the behavior of the created continuation task. The NotOn* or OnlyOn* values are not valid.
One of the elements in the array has been disposed.
The array is null.-or-The argument is null.
The argument specifies an invalid enumeration value.
The array contains a null value.-or-The array is empty.
Creates a continuation task that will be started upon the completion of any task in the provided set.
The new continuation .
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The type of the result of the antecedent .
One of the elements in the array has been disposed.
The array is null.-or-The argument is null.
The array contains a null value.-or-The array is empty.
Creates a continuation task that will be started upon the completion of any task in the provided set.
The new continuation task.
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The cancellation token that will be assigned to the new continuation task.
The type of the result of the antecedent .
One of the elements in the array has been disposed.-or-The that created has already been disposed.
The array is null.-or-The argument is null.
The array contains a null value.-or-The array is empty.
Creates a continuation task that will be started upon the completion of any task in the provided set.
The new continuation .
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
The cancellation token that will be assigned to the new continuation task.
One of the enumeration values that controls the behavior of the created continuation task. The NotOn* or OnlyOn* values are not valid.
The that is used to schedule the created continuation .
The type of the result of the antecedent .
The array is null.-or-The argument is null.-or-The argument is null.
The array contains a null value.-or-The array is empty.
The argument specifies an invalid TaskContinuationOptions value.
One of the elements in the array has been disposed.-or-The that created has already been disposed.
Creates a continuation task that will be started upon the completion of any task in the provided set.
The new continuation .
The array of tasks from which to continue when one task completes.
The function delegate to execute asynchronously when one task in the array completes.
One of the enumeration values that controls the behavior of the created continuation task. The NotOn* or OnlyOn* values are not valid.
The type of the result of the antecedent .
One of the elements in the array has been disposed.
The array is null.-or-The argument is null.
The argument specifies an invalid enumeration value.
The array contains a null value.-or-The array is empty.
Gets the enumeration value for this task factory.
One of the enumeration values that specifies the default creation options for this task factory.
Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created task that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
An object containing data to be used by the delegate.
The argument is null.-or-The argument is null.
Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
An object containing data to be used by the delegate.
One of the enumeration values that controls the behavior of the created task.
The argument is null.-or-The argument is null.
The argument specifies an invalid value.
Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created task that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
An object containing data to be used by the delegate.
The type of the first argument passed to the delegate.
The argument is null.-or-The argument is null.
Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created task that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
An object containing data to be used by the delegate.
One of the enumeration values that controls the behavior of the created task.
The type of the first argument passed to the delegate.
The argument is null.-or-The argument is null.
The parameter specifies an invalid value.
Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created task that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
An object containing data to be used by the delegate.
The type of the second argument passed to delegate.
The type of the first argument passed to the delegate.
The argument is null.-or-The argument is null.
Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created task that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
An object containing data to be used by the delegate.
An object that controls the behavior of the created .
The type of the second argument passed to delegate.
The type of the first argument passed to the delegate.
The argument is null.-or-The argument is null.
The parameter specifies an invalid value.
Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created task that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
The third argument passed to the delegate.
An object containing data to be used by the delegate.
The type of the second argument passed to delegate.
The type of the third argument passed to delegate.
The type of the first argument passed to the delegate.
The argument is null.-or-The argument is null.
Creates a task that represents a pair of begin and end methods that conform to the Asynchronous Programming Model pattern.
The created task that represents the asynchronous operation.
The delegate that begins the asynchronous operation.
The delegate that ends the asynchronous operation.
The first argument passed to the delegate.
The second argument passed to the delegate.
The third argument passed to the delegate.
An object containing data to be used by the delegate.
An object that controls the behavior of the created task.
The type of the second argument passed to delegate.
The type of the third argument passed to delegate.
The type of the first argument passed to the delegate.
The argument is null.-or-The argument is null.
The parameter specifies an invalid value.
Creates a task that executes an end method function when a specified completes.
A that represents the asynchronous operation.
The whose completion should trigger the processing of the .
The function delegate that processes the completed .
The argument is null.-or-The argument is null.
Creates a task that executes an end method function when a specified completes.
A task that represents the asynchronous operation.
The whose completion should trigger the processing of the .
The function delegate that processes the completed .
One of the enumeration values that controls the behavior of the created task.
The argument is null.-or-The argument is null.
The argument specifies an invalid value.
Creates a task that executes an end method function when a specified completes.
The created task that represents the asynchronous operation.
The whose completion should trigger the processing of the .
The function delegate that processes the completed .
One of the enumeration values that controls the behavior of the created task.
The task scheduler that is used to schedule the task that executes the end method.
The argument is null.-or-The argument is null.-or-The argument is null.
The parameter specifies an invalid value.
Gets the task scheduler for this task factory.
The task scheduler for this task factory.
Creates and starts a task.
The started task.
A function delegate that returns the future result to be available through the task.
The argument is null.
Creates and starts a task.
The started task.
A function delegate that returns the future result to be available through the task.
The cancellation token that will be assigned to the new task.
The cancellation token source that created has already been disposed.
The argument is null.
Creates and starts a task.
The started task.
A function delegate that returns the future result to be available through the task.
The cancellation token that will be assigned to the new task.
One of the enumeration values that controls the behavior of the created task.
The task scheduler that is used to schedule the created task.
The cancellation token source that created has already been disposed.
The argument is null.-or-The argument is null.
The parameter specifies an invalid value.
Creates and starts a task.
The started .
A function delegate that returns the future result to be available through the task.
One of the enumeration values that controls the behavior of the created task.
The argument is null.
The parameter specifies an invalid value.
Creates and starts a task.
The started task.
A function delegate that returns the future result to be available through the task.
An object that contains data to be used by the delegate.
The argument is null.
Creates and starts a task.
The started task.
A function delegate that returns the future result to be available through the task.
An object that contains data to be used by the delegate.
The cancellation token that will be assigned to the new task.
The cancellation token source that created has already been disposed.
The argument is null.
Creates and starts a task.
The started task.
A function delegate that returns the future result to be available through the task.
An object that contains data to be used by the delegate.
The cancellation token that will be assigned to the new task.
One of the enumeration values that controls the behavior of the created task.
The task scheduler that is used to schedule the created task.
The cancellation token source that created has already been disposed.
The argument is null.-or-The argument is null.
The parameter specifies an invalid value.
Creates and starts a task.
The started task.
A function delegate that returns the future result to be available through the task.
An object that contains data to be used by the delegate.
One of the enumeration values that controls the behavior of the created task.
The argument is null.
The parameter specifies an invalid value.
Represents an object that handles the low-level work of queuing tasks onto threads.
Initializes the .
Gets the associated with the currently executing task.
Returns the associated with the currently executing task.
Gets the default instance that is provided by the .NET Framework.
Returns the default instance.
Creates a associated with the current .
A associated with the current , as determined by .
The current SynchronizationContext may not be used as a TaskScheduler.
For debugger support only, generates an enumerable of instances currently queued to the scheduler waiting to be executed.
An enumerable that allows a debugger to traverse the tasks currently queued to this scheduler.
This scheduler is unable to generate a list of queued tasks at this time.
Gets the unique ID for this .
Returns the unique ID for this .
Indicates the maximum concurrency level this is able to support.
Returns an integer that represents the maximum concurrency level. The default scheduler returns .
Queues a to the scheduler.
The to be queued.
The argument is null.
Attempts to dequeue a that was previously queued to this scheduler.
A Boolean denoting whether the argument was successfully dequeued.
The to be dequeued.
The argument is null.
Attempts to execute the provided on this scheduler.
A Boolean that is true if was successfully executed, false if it was not. A common reason for execution failure is that the task had previously been executed or is in the process of being executed by another thread.
A object to be executed.
The is not associated with this scheduler.
Determines whether the provided can be executed synchronously in this call, and if it can, executes it.
A Boolean value indicating whether the task was executed inline.
The to be executed.
A Boolean denoting whether or not task has previously been queued. If this parameter is True, then the task may have been previously queued (scheduled); if False, then the task is known not to have been queued, and this call is being made in order to execute the task inline without queuing it.
The argument is null.
The was already executed.
Occurs when a faulted task's unobserved exception is about to trigger exception escalation policy, which, by default, would terminate the process.
Represents an exception used to communicate an invalid operation by a .
Initializes a new instance of the class with a system-supplied message that describes the error.
Initializes a new instance of the class using the default error message and a reference to the inner exception that is the cause of this exception.
The exception that is the cause of the current exception.
Initializes a new instance of the class with a specified message that describes the error.
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception.
Represents the current stage in the lifecycle of a .
The task acknowledged cancellation by throwing an OperationCanceledException with its own CancellationToken while the token was in signaled state, or the task's CancellationToken was already signaled before the task started executing. For more information, see Task Cancellation.
The task has been initialized but has not yet been scheduled.
The task completed due to an unhandled exception.
The task completed execution successfully.
The task is running but has not yet completed.
The task is waiting to be activated and scheduled internally by the .NET Framework infrastructure.
The task has finished executing and is implicitly waiting for attached child tasks to complete.
The task has been scheduled for execution but has not yet begun executing.
Provides data for the event that is raised when a faulted 's exception goes unobserved.
Initializes a new instance of the class with the unobserved exception.
The Exception that has gone unobserved.
The Exception that went unobserved.
The Exception that went unobserved.
Gets whether this exception has been marked as "observed."
true if this exception has been marked as "observed"; otherwise false.
Marks the as "observed," thus preventing it from triggering exception escalation policy which, by default, terminates the process.