System.Threading.Tasks.Parallel Provides support for parallel loops and regions. Executes a for (For in Visual Basic) loop in which iterations may run in parallel. A structure that contains information about which portion of the loop completed. The start index, inclusive. The end index, exclusive. The delegate that is invoked once per iteration. The argument is null. The exception that contains all the individual exceptions thrown on all threads. Executes a for (For in Visual Basic) loop in which iterations may run in parallel and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. The start index, inclusive. The end index, exclusive. The delegate that is invoked once per iteration. The argument is null. The exception that contains all the individual exceptions thrown on all threads. Executes a for (For in Visual Basic) loop with thread-local data in which iterations may run in parallel, and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. The start index, inclusive. The end index, exclusive. The function delegate that returns the initial state of the local data for each task. The delegate that is invoked once per iteration. The delegate that performs a final action on the local state of each task. The type of the thread-local data. The argument is null.-or-The argument is null.-or-The argument is null. The exception that contains all the individual exceptions thrown on all threads. Executes a for (For in Visual Basic) loop in which iterations may run in parallel and loop options can be configured. A structure that contains information about which portion of the loop completed. The start index, inclusive. The end index, exclusive. An object that configures the behavior of this operation. The delegate that is invoked once per iteration. The in the argument is canceled. The argument is null.-or-The argument is null. The exception that contains all the individual exceptions thrown on all threads. The associated with the in the has been disposed. Executes a for (For in Visual Basic) loop in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. The start index, inclusive. The end index, exclusive. An object that configures the behavior of this operation. The delegate that is invoked once per iteration. The in the argument is canceled. The argument is null.-or-The argument is null. The exception that contains all the individual exceptions thrown on all threads. The associated with the in the has been disposed. Executes a for (For in Visual Basic) loop with thread-local data in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. The start index, inclusive. The end index, exclusive. An object that configures the behavior of this operation. The function delegate that returns the initial state of the local data for each task. The delegate that is invoked once per iteration. The delegate that performs a final action on the local state of each task. The type of the thread-local data. The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null. The in the argument is canceled. The associated with the in the has been disposed. The exception that contains all the individual exceptions thrown on all threads. Executes a for (For in Visual Basic) loop with 64-bit indexes in which iterations may run in parallel. A structure that contains information about which portion of the loop completed. The start index, inclusive. The end index, exclusive. The delegate that is invoked once per iteration. The argument is null. The exception that contains all the individual exceptions thrown on all threads. Executes a for (For in Visual Basic) loop with 64-bit indexes in which iterations may run in parallel and the state of the loop can be monitored and manipulated. A structure that contains information on what portion of the loop completed. The start index, inclusive. The end index, exclusive. The delegate that is invoked once per iteration. The argument is null. The exception that contains all the individual exceptions thrown on all threads. Executes a for (For in Visual Basic) loop with 64-bit indexes and thread-local data in which iterations may run in parallel, and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. The start index, inclusive. The end index, exclusive. The function delegate that returns the initial state of the local data for each task. The delegate that is invoked once per iteration. The delegate that performs a final action on the local state of each task. The type of the thread-local data. The argument is null.-or-The argument is null.-or-The argument is null. The exception that contains all the individual exceptions thrown on all threads. Executes a for (For in Visual Basic) loop with 64-bit indexes in which iterations may run in parallel and loop options can be configured. A structure that contains information about which portion of the loop completed. The start index, inclusive. The end index, exclusive. An object that configures the behavior of this operation. The delegate that is invoked once per iteration. The in the argument is canceled. The argument is null.-or-The argument is null. The exception that contains all the individual exceptions thrown on all threads. The associated with the in the has been disposed. Executes a for (For in Visual Basic) loop with 64-bit indexes in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. The start index, inclusive. The end index, exclusive. An object that configures the behavior of this operation. The delegate that is invoked once per iteration. The in the argument is canceled. The argument is null.-or-The argument is null. The exception that contains all the individual exceptions thrown on all threads. The associated with the in the has been disposed. Executes a for (For in Visual Basic) loop with 64-bit indexes and thread-local data in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. The start index, inclusive. The end index, exclusive. An object that configures the behavior of this operation. The function delegate that returns the initial state of the local data for each thread. The delegate that is invoked once per iteration. The delegate that performs a final action on the local state of each thread. The type of the thread-local data. The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null. The in the argument is canceled. The associated with the in the has been disposed. The exception that contains all the individual exceptions thrown on all threads. Executes a foreach (For Each in Visual Basic) operation on a in which iterations may run in parallel and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. The orderable partitioner that contains the original data source. The delegate that is invoked once per iteration. The type of the elements in . The argument is null.-or-The argument is null. The property in the orderable partitioner returns false.-or-The property in the source orderable partitioner returns false.-or-Any methods in the source orderable partitioner return null. Executes a foreach (For Each in Visual Basic) operation with thread-local data on a in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. The orderable partitioner that contains the original data source. The function delegate that returns the initial state of the local data for each task. The delegate that is invoked once per iteration. The delegate that performs a final action on the local state of each task. The type of the elements in . The type of the thread-local data. The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null. The property in the returns false or the partitioner returns null partitions. The exception that contains all the individual exceptions thrown on all threads. Executes a foreach (For Each in Visual Basic) operation on a in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. The orderable partitioner that contains the original data source. An object that configures the behavior of this operation. The delegate that is invoked once per iteration. The type of the elements in . The in the argument is canceled The argument is null.-or-The argument is null.-or-The argument is null. The associated with the in the has been disposed. The property in the orderable partitioner returns false.-or-The property in the orderable partitioner returns false.-or-The exception that is thrown when any methods in the orderable partitioner return null. Executes a foreach (For Each in Visual Basic) operation with 64-bit indexes and with thread-local data on a in which iterations may run in parallel , loop options can be configured, and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. The orderable partitioner that contains the original data source. An object that configures the behavior of this operation. The function delegate that returns the initial state of the local data for each task. The delegate that is invoked once per iteration. The delegate that performs a final action on the local state of each task. The type of the elements in . The type of the thread-local data. The argument is null.-or-The argument is null.-or-The argument is null.-or-The or argument is null. The property in the returns false or the partitioner returns null partitions. The exception that contains all the individual exceptions thrown on all threads. The in the argument is canceled. The associated with the in the has been disposed. Executes a foreach (For Each in Visual Basic) operation on a in which iterations may run in parallel. A structure that contains information about which portion of the loop completed. The partitioner that contains the original data source. The delegate that is invoked once per iteration. The type of the elements in . The argument is null.-or-The argument is null. The property in the partitioner returns false.-or-The exception that is thrown when any methods in the partitioner return null.-or-The method in the partitioner does not return the correct number of partitions. Executes a foreach (For Each in Visual Basic) operation on a in which iterations may run in parallel, and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. The partitioner that contains the original data source. The delegate that is invoked once per iteration. The type of the elements in . The argument is null.-or-The argument is null. The property in the partitioner returns false.-or-A method in the partitioner returns null.-or-The method in the partitioner does not return the correct number of partitions. Executes a foreach (For Each in Visual Basic) operation with thread-local data on a in which iterations may run in parallel and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. The partitioner that contains the original data source. The function delegate that returns the initial state of the local data for each task. The delegate that is invoked once per iteration. The delegate that performs a final action on the local state of each task. The type of the elements in . The type of the thread-local data. The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null. The property in the returns false or the partitioner returns null partitions. The exception that contains all the individual exceptions thrown on all threads. Executes a foreach (For Each in Visual Basic) operation on a in which iterations may run in parallel and loop options can be configured. A structure that contains information about which portion of the loop completed. The partitioner that contains the original data source. An object that configures the behavior of this operation. The delegate that is invoked once per iteration. The type of the elements in . The in the argument is canceled. The associated with the in the has been disposed. The argument is null.-or-The argument is null.-or-The argument is null. The property in the partitioner returns false.-or-The exception that is thrown when any methods in the partitioner return null. Executes a foreach (For Each in Visual Basic) operation on a in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. The partitioner that contains the original data source. An object that configures the behavior of this operation. The delegate that is invoked once per iteration. The type of the elements in . The in the argument is canceled. The associated with the in the has been disposed. The argument is null.-or-The argument is null.-or-The argument is null. The property in the partitioner returns false.-or-The exception that is thrown when any methods in the partitioner return null. Executes a foreach (For Each in Visual Basic) operation with thread-local data on a in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. The partitioner that contains the original data source. An object that configures the behavior of this operation. The function delegate that returns the initial state of the local data for each task. The delegate that is invoked once per iteration. The delegate that performs a final action on the local state of each task. The type of the elements in . The type of the thread-local data. The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null. The property in the returns false or the partitioner returns null partitions. The exception that contains all the individual exceptions thrown on all threads. The in the argument is canceled. The associated with the in the has been disposed. Executes a foreach (For Each in Visual Basic) operation on an in which iterations may run in parallel. A structure that contains information about which portion of the loop completed. An enumerable data source. The delegate that is invoked once per iteration. The type of the data in the source. The argument is null.-or-The argument is null. The exception that contains all the individual exceptions thrown on all threads. Executes a foreach (For Each in Visual Basic) operation on an in which iterations may run in parallel, and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. An enumerable data source. The delegate that is invoked once per iteration. The type of the data in the source. The argument is null.-or-The argument is null. The exception that contains all the individual exceptions thrown on all threads. Executes a foreach (For Each in Visual Basic) operation with 64-bit indexes on an in which iterations may run in parallel, and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. An enumerable data source. The delegate that is invoked once per iteration. The type of the data in the source. The argument is null.-or-The argument is null. The exception that contains all the individual exceptions thrown on all threads. Executes a foreach (For Each in Visual Basic) operation with thread-local data on an in which iterations may run in parallel, and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. An enumerable data source. The function delegate that returns the initial state of the local data for each task. The delegate that is invoked once per iteration. The delegate that performs a final action on the local state of each task. The type of the data in the source. The type of the thread-local data. The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null. The exception that contains all the individual exceptions thrown on all threads. Executes a foreach (For Each in Visual Basic) operation with thread-local data on an in which iterations may run in parallel and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. An enumerable data source. The function delegate that returns the initial state of the local data for each task. The delegate that is invoked once per iteration. The delegate that performs a final action on the local state of each task. The type of the data in the source. The type of the thread-local data. The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null. The exception that contains all the individual exceptions thrown on all threads. Executes a foreach (For Each in Visual Basic) operation on an in which iterations may run in parallel and loop options can be configured. A structure that contains information about which portion of the loop completed. An enumerable data source. An object that configures the behavior of this operation. The delegate that is invoked once per iteration. The type of the data in the source. The in the argument is canceled The argument is null.-or-The argument is null.-or-The argument is null. The exception that contains all the individual exceptions thrown on all threads. The associated with the in the has been disposed. Executes a foreach (For Each in Visual Basic) operation on an in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. An enumerable data source. An object that configures the behavior of this operation. The delegate that is invoked once per iteration. The type of the data in the source. The in the argument is canceled The argument is null.-or-The argument is null.-or-The argument is null. The exception that contains all the individual exceptions thrown on all threads. The associated with the in the has been disposed. Executes a foreach (For Each in Visual Basic) operation with 64-bit indexes on an in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. An enumerable data source. An object that configures the behavior of this operation. The delegate that is invoked once per iteration. The type of the data in the source. The in the argument is canceled The argument is null.-or-The argument is null.-or-The argument is null. The exception that contains all the individual exceptions thrown on all threads. The associated with the in the has been disposed. Executes a foreach (For Each in Visual Basic) operation with thread-local data on an in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated.. A structure that contains information about which portion of the loop completed. An enumerable data source. An object that configures the behavior of this operation. The function delegate that returns the initial state of the local data for each task. The delegate that is invoked once per iteration. The delegate that performs a final action on the local state of each task. The type of the data in the source. The type of the thread-local data. The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null. The in the argument is canceled. The associated with the in the has been disposed. The exception that contains all the individual exceptions thrown on all threads. Executes a foreach (For Each in Visual Basic) operation with thread-local data and 64-bit indexes on an in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated. A structure that contains information about which portion of the loop completed. An enumerable data source. An object that configures the behavior of this operation. The function delegate that returns the initial state of the local data for each task. The delegate that is invoked once per iteration. The delegate that performs a final action on the local state of each task. The type of the data in the source. The type of the thread-local data. The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null. The in the argument is canceled. The associated with the in the has been disposed. The exception that contains all the individual exceptions thrown on all threads. Executes each of the provided actions, possibly in parallel. An array of to execute. The argument is null. The exception that is thrown when any action in the array throws an exception. The array contains a null element. Executes each of the provided actions, possibly in parallel, unless the operation is cancelled by the user. An object that configures the behavior of this operation. An array of actions to execute. The in the is set. The argument is null.-or-The argument is null. The exception that is thrown when any action in the array throws an exception. The array contains a null element. The associated with the in the has been disposed. Provides completion status on the execution of a loop. Gets whether the loop ran to completion, such that all iterations of the loop were executed and the loop didn't receive a request to end prematurely. true if the loop ran to completion; otherwise false; Gets the index of the lowest iteration from which was called. Returns an integer that represents the lowest iteration from which the Break statement was called. Enables iterations of parallel loops to interact with other iterations. An instance of this class is provided by the class to each loop; you can not create instances in your code. Communicates that the loop should cease execution of iterations beyond the current iteration at the system's earliest convenience. The method was previously called. and may not be used in combination by iterations of the same loop. Gets whether any iteration of the loop has thrown an exception that went unhandled by that iteration. true if an unhandled exception was thrown; otherwise, false. Gets whether any iteration of the loop has called the method. true if any iteration has stopped the loop by calling the method; otherwise, false. Gets the lowest iteration of the loop from which was called. The lowest iteration from which was called. In the case of a loop, the value is based on an internally-generated index. Gets whether the current iteration of the loop should exit based on requests made by this or other iterations. true if the current iteration should exit; otherwise, false. Communicates that the loop should cease execution at the system's earliest convenience. The method was called previously. and may not be used in combination by iterations of the same loop. Stores options that configure the operation of methods on the class. Initializes a new instance of the class. Gets or sets the associated with this instance. The token that is associated with this instance. Gets or sets the maximum number of concurrent tasks enabled by this instance. An integer that represents the maximum degree of parallelism. The property is being set to zero or to a value that is less than -1. Gets or sets the associated with this instance. Setting this property to null indicates that the current scheduler should be used. The task scheduler that is associated with this instance.