1 <?xml version="1.0" encoding="utf-8"?><span>
4 <name>System.Threading.Tasks.Parallel</name>
7 <member name="T:System.Threading.Tasks.Parallel">
8 <summary>Provides support for parallel loops and regions.</summary>
10 <member name="M:System.Threading.Tasks.Parallel.For(System.Int32,System.Int32,System.Action{System.Int32,System.Threading.Tasks.ParallelLoopState})">
11 <summary>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.</summary>
12 <param name="fromInclusive">The start index, inclusive.</param>
13 <param name="toExclusive">The end index, exclusive.</param>
14 <param name="body">The delegate that is invoked once per iteration.</param>
15 <returns>A structure that contains information about which portion of the loop completed.</returns>
16 <exception cref="T:System.ArgumentNullException">The <paramref name="body">body</paramref> argument is null.</exception>
17 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
19 <member name="M:System.Threading.Tasks.Parallel.For(System.Int32,System.Int32,System.Action{System.Int32})">
20 <summary>Executes a for (For in Visual Basic) loop in which iterations may run in parallel.</summary>
21 <param name="fromInclusive">The start index, inclusive.</param>
22 <param name="toExclusive">The end index, exclusive.</param>
23 <param name="body">The delegate that is invoked once per iteration.</param>
24 <returns>A structure that contains information about which portion of the loop completed.</returns>
25 <exception cref="T:System.ArgumentNullException">The <paramref name="body">body</paramref> argument is null.</exception>
26 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
28 <member name="M:System.Threading.Tasks.Parallel.For(System.Int64,System.Int64,System.Action{System.Int64,System.Threading.Tasks.ParallelLoopState})">
29 <summary>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.</summary>
30 <param name="fromInclusive">The start index, inclusive.</param>
31 <param name="toExclusive">The end index, exclusive.</param>
32 <param name="body">The delegate that is invoked once per iteration.</param>
33 <returns>A <see cref="T:System.Threading.Tasks.ParallelLoopResult"></see> structure that contains information on what portion of the loop completed.</returns>
34 <exception cref="T:System.ArgumentNullException">The <paramref name="body">body</paramref> argument is null.</exception>
35 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
37 <member name="M:System.Threading.Tasks.Parallel.For(System.Int64,System.Int64,System.Action{System.Int64})">
38 <summary>Executes a for (For in Visual Basic) loop with 64-bit indexes in which iterations may run in parallel.</summary>
39 <param name="fromInclusive">The start index, inclusive.</param>
40 <param name="toExclusive">The end index, exclusive.</param>
41 <param name="body">The delegate that is invoked once per iteration.</param>
42 <returns>A structure that contains information about which portion of the loop completed.</returns>
43 <exception cref="T:System.ArgumentNullException">The <paramref name="body">body</paramref> argument is null.</exception>
44 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
46 <member name="M:System.Threading.Tasks.Parallel.For(System.Int32,System.Int32,System.Threading.Tasks.ParallelOptions,System.Action{System.Int32,System.Threading.Tasks.ParallelLoopState})">
47 <summary>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.</summary>
48 <param name="fromInclusive">The start index, inclusive.</param>
49 <param name="toExclusive">The end index, exclusive.</param>
50 <param name="parallelOptions">An object that configures the behavior of this operation.</param>
51 <param name="body">The delegate that is invoked once per iteration.</param>
52 <returns>A structure that contains information about which portion of the loop completed.</returns>
53 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> argument is canceled.</exception>
54 <exception cref="T:System.ArgumentNullException">The <paramref name="body">body</paramref> argument is null. -or- The <paramref name="parallelOptions">parallelOptions</paramref> argument is null.</exception>
55 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
56 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource"></see> associated with the <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> has been disposed.</exception>
58 <member name="M:System.Threading.Tasks.Parallel.For(System.Int32,System.Int32,System.Threading.Tasks.ParallelOptions,System.Action{System.Int32})">
59 <summary>Executes a for (For in Visual Basic) loop in which iterations may run in parallel and loop options can be configured.</summary>
60 <param name="fromInclusive">The start index, inclusive.</param>
61 <param name="toExclusive">The end index, exclusive.</param>
62 <param name="parallelOptions">An object that configures the behavior of this operation.</param>
63 <param name="body">The delegate that is invoked once per iteration.</param>
64 <returns>A structure that contains information about which portion of the loop completed.</returns>
65 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> argument is canceled.</exception>
66 <exception cref="T:System.ArgumentNullException">The <paramref name="body">body</paramref> argument is null. -or- The <paramref name="parallelOptions">parallelOptions</paramref> argument is null.</exception>
67 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
68 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource"></see> associated with the <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> has been disposed.</exception>
70 <member name="M:System.Threading.Tasks.Parallel.For(System.Int64,System.Int64,System.Threading.Tasks.ParallelOptions,System.Action{System.Int64,System.Threading.Tasks.ParallelLoopState})">
71 <summary>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.</summary>
72 <param name="fromInclusive">The start index, inclusive.</param>
73 <param name="toExclusive">The end index, exclusive.</param>
74 <param name="parallelOptions">An object that configures the behavior of this operation.</param>
75 <param name="body">The delegate that is invoked once per iteration.</param>
76 <returns>A structure that contains information about which portion of the loop completed.</returns>
77 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> argument is canceled.</exception>
78 <exception cref="T:System.ArgumentNullException">The <paramref name="body">body</paramref> argument is null. -or- The <paramref name="parallelOptions">parallelOptions</paramref> argument is null.</exception>
79 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
80 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource"></see> associated with the <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> has been disposed.</exception>
82 <member name="M:System.Threading.Tasks.Parallel.For(System.Int64,System.Int64,System.Threading.Tasks.ParallelOptions,System.Action{System.Int64})">
83 <summary>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.</summary>
84 <param name="fromInclusive">The start index, inclusive.</param>
85 <param name="toExclusive">The end index, exclusive.</param>
86 <param name="parallelOptions">An object that configures the behavior of this operation.</param>
87 <param name="body">The delegate that is invoked once per iteration.</param>
88 <returns>A structure that contains information about which portion of the loop completed.</returns>
89 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> argument is canceled.</exception>
90 <exception cref="T:System.ArgumentNullException">The <paramref name="body">body</paramref> argument is null. -or- The <paramref name="parallelOptions">parallelOptions</paramref> argument is null.</exception>
91 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
92 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource"></see> associated with the <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> has been disposed.</exception>
94 <member name="M:System.Threading.Tasks.Parallel.For``1(System.Int64,System.Int64,System.Threading.Tasks.ParallelOptions,System.Func{``0},System.Func{System.Int64,System.Threading.Tasks.ParallelLoopState,``0,``0},System.Action{``0})">
95 <summary>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.</summary>
96 <param name="fromInclusive">The start index, inclusive.</param>
97 <param name="toExclusive">The end index, exclusive.</param>
98 <param name="parallelOptions">An object that configures the behavior of this operation.</param>
99 <param name="localInit">The function delegate that returns the initial state of the local data for each thread.</param>
100 <param name="body">The delegate that is invoked once per iteration.</param>
101 <param name="localFinally">The delegate that performs a final action on the local state of each thread.</param>
102 <typeparam name="TLocal">The type of the thread-local data.</typeparam>
103 <returns>A structure that contains information about which portion of the loop completed.</returns>
104 <exception cref="T:System.ArgumentNullException">The <paramref name="body">body</paramref> argument is null. -or- The <paramref name="localInit">localInit</paramref> argument is null. -or- The <paramref name="localFinally">localFinally</paramref> argument is null. -or- The <paramref name="parallelOptions">parallelOptions</paramref> argument is null.</exception>
105 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> argument is canceled.</exception>
106 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource"></see> associated with the <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> has been disposed.</exception>
107 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
109 <member name="M:System.Threading.Tasks.Parallel.For``1(System.Int32,System.Int32,System.Threading.Tasks.ParallelOptions,System.Func{``0},System.Func{System.Int32,System.Threading.Tasks.ParallelLoopState,``0,``0},System.Action{``0})">
110 <summary>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.</summary>
111 <param name="fromInclusive">The start index, inclusive.</param>
112 <param name="toExclusive">The end index, exclusive.</param>
113 <param name="parallelOptions">An object that configures the behavior of this operation.</param>
114 <param name="localInit">The function delegate that returns the initial state of the local data for each task.</param>
115 <param name="body">The delegate that is invoked once per iteration.</param>
116 <param name="localFinally">The delegate that performs a final action on the local state of each task.</param>
117 <typeparam name="TLocal">The type of the thread-local data.</typeparam>
118 <returns>A structure that contains information about which portion of the loop completed.</returns>
119 <exception cref="T:System.ArgumentNullException">The <paramref name="body">body</paramref> argument is null. -or- The <paramref name="localInit">localInit</paramref> argument is null. -or- The <paramref name="localFinally">localFinally</paramref> argument is null. -or- The <paramref name="parallelOptions">parallelOptions</paramref> argument is null.</exception>
120 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> argument is canceled.</exception>
121 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource"></see> associated with the <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> has been disposed.</exception>
122 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
124 <member name="M:System.Threading.Tasks.Parallel.For``1(System.Int32,System.Int32,System.Func{``0},System.Func{System.Int32,System.Threading.Tasks.ParallelLoopState,``0,``0},System.Action{``0})">
125 <summary>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.</summary>
126 <param name="fromInclusive">The start index, inclusive.</param>
127 <param name="toExclusive">The end index, exclusive.</param>
128 <param name="localInit">The function delegate that returns the initial state of the local data for each task.</param>
129 <param name="body">The delegate that is invoked once per iteration.</param>
130 <param name="localFinally">The delegate that performs a final action on the local state of each task.</param>
131 <typeparam name="TLocal">The type of the thread-local data.</typeparam>
132 <returns>A structure that contains information about which portion of the loop completed.</returns>
133 <exception cref="T:System.ArgumentNullException">The <paramref name="body">body</paramref> argument is null. -or- The <paramref name="localInit">localInit</paramref> argument is null. -or- The <paramref name="localFinally">localFinally</paramref> argument is null.</exception>
134 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
136 <member name="M:System.Threading.Tasks.Parallel.For``1(System.Int64,System.Int64,System.Func{``0},System.Func{System.Int64,System.Threading.Tasks.ParallelLoopState,``0,``0},System.Action{``0})">
137 <summary>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.</summary>
138 <param name="fromInclusive">The start index, inclusive.</param>
139 <param name="toExclusive">The end index, exclusive.</param>
140 <param name="localInit">The function delegate that returns the initial state of the local data for each task.</param>
141 <param name="body">The delegate that is invoked once per iteration.</param>
142 <param name="localFinally">The delegate that performs a final action on the local state of each task.</param>
143 <typeparam name="TLocal">The type of the thread-local data.</typeparam>
144 <returns>A structure that contains information about which portion of the loop completed.</returns>
145 <exception cref="T:System.ArgumentNullException">The <paramref name="body">body</paramref> argument is null. -or- The <paramref name="localInit">localInit</paramref> argument is null. -or- The <paramref name="localFinally">localFinally</paramref> argument is null.</exception>
146 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
148 <member name="M:System.Threading.Tasks.Parallel.ForEach``2(System.Collections.Generic.IEnumerable{``0},System.Threading.Tasks.ParallelOptions,System.Func{``1},System.Func{``0,System.Threading.Tasks.ParallelLoopState,``1,``1},System.Action{``1})">
149 <summary>Executes a foreach (For Each in Visual Basic) operation with thread-local data on an <see cref="T:System.Collections.IEnumerable"></see> in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated..</summary>
150 <param name="source">An enumerable data source.</param>
151 <param name="parallelOptions">An object that configures the behavior of this operation.</param>
152 <param name="localInit">The function delegate that returns the initial state of the local data for each task.</param>
153 <param name="body">The delegate that is invoked once per iteration.</param>
154 <param name="localFinally">The delegate that performs a final action on the local state of each task.</param>
155 <typeparam name="TSource">The type of the data in the source.</typeparam>
156 <typeparam name="TLocal">The type of the thread-local data.</typeparam>
157 <returns>A structure that contains information about which portion of the loop completed.</returns>
158 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="parallelOptions">parallelOptions</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null. -or- The <paramref name="localInit">localInit</paramref> argument is null. -or- The <paramref name="localFinally">localFinally</paramref> argument is null.</exception>
159 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> argument is canceled.</exception>
160 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource"></see> associated with the <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> has been disposed.</exception>
161 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
163 <member name="M:System.Threading.Tasks.Parallel.ForEach``2(System.Collections.Generic.IEnumerable{``0},System.Threading.Tasks.ParallelOptions,System.Func{``1},System.Func{``0,System.Threading.Tasks.ParallelLoopState,System.Int64,``1,``1},System.Action{``1})">
164 <summary>Executes a foreach (For Each in Visual Basic) operation with thread-local data and 64-bit indexes on an <see cref="T:System.Collections.IEnumerable"></see> in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated.</summary>
165 <param name="source">An enumerable data source.</param>
166 <param name="parallelOptions">An object that configures the behavior of this operation.</param>
167 <param name="localInit">The function delegate that returns the initial state of the local data for each task.</param>
168 <param name="body">The delegate that is invoked once per iteration.</param>
169 <param name="localFinally">The delegate that performs a final action on the local state of each task.</param>
170 <typeparam name="TSource">The type of the data in the source.</typeparam>
171 <typeparam name="TLocal">The type of the thread-local data.</typeparam>
172 <returns>A structure that contains information about which portion of the loop completed.</returns>
173 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="parallelOptions">parallelOptions</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null. -or- The <paramref name="localInit">localInit</paramref> argument is null. -or- The <paramref name="localFinally">localFinally</paramref> argument is null.</exception>
174 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> argument is canceled.</exception>
175 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource"></see> associated with the <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> has been disposed.</exception>
176 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
178 <member name="M:System.Threading.Tasks.Parallel.ForEach``2(System.Collections.Concurrent.Partitioner{``0},System.Threading.Tasks.ParallelOptions,System.Func{``1},System.Func{``0,System.Threading.Tasks.ParallelLoopState,``1,``1},System.Action{``1})">
179 <summary>Executes a foreach (For Each in Visual Basic) operation with thread-local data on a <see cref="T:System.Collections.Concurrent.Partitioner"></see> in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated.</summary>
180 <param name="source">The partitioner that contains the original data source.</param>
181 <param name="parallelOptions">An object that configures the behavior of this operation.</param>
182 <param name="localInit">The function delegate that returns the initial state of the local data for each task.</param>
183 <param name="body">The delegate that is invoked once per iteration.</param>
184 <param name="localFinally">The delegate that performs a final action on the local state of each task.</param>
185 <typeparam name="TSource">The type of the elements in source.</typeparam>
186 <typeparam name="TLocal">The type of the thread-local data.</typeparam>
187 <returns>A structure that contains information about which portion of the loop completed.</returns>
188 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="parallelOptions">parallelOptions</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null. -or- The <paramref name="localInit">localInit</paramref> argument is null. -or- The <paramref name="localFinally">localFinally</paramref> argument is null.</exception>
189 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions"></see> property in the <paramref name="source">source</paramref><see cref="T:System.Collections.Concurrent.Partitioner"></see> returns false or the partitioner returns null partitions.</exception>
190 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
191 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> argument is canceled.</exception>
192 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource"></see> associated with the <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> has been disposed.</exception>
194 <member name="M:System.Threading.Tasks.Parallel.ForEach``2(System.Collections.Concurrent.OrderablePartitioner{``0},System.Threading.Tasks.ParallelOptions,System.Func{``1},System.Func{``0,System.Threading.Tasks.ParallelLoopState,System.Int64,``1,``1},System.Action{``1})">
195 <summary>Executes a foreach (For Each in Visual Basic) operation with 64-bit indexes and with thread-local data on a <see cref="T:System.Collections.Concurrent.OrderablePartitioner`1"></see> in which iterations may run in parallel , loop options can be configured, and the state of the loop can be monitored and manipulated.</summary>
196 <param name="source">The orderable partitioner that contains the original data source.</param>
197 <param name="parallelOptions">An object that configures the behavior of this operation.</param>
198 <param name="localInit">The function delegate that returns the initial state of the local data for each task.</param>
199 <param name="body">The delegate that is invoked once per iteration.</param>
200 <param name="localFinally">The delegate that performs a final action on the local state of each task.</param>
201 <typeparam name="TSource">The type of the elements in source.</typeparam>
202 <typeparam name="TLocal">The type of the thread-local data.</typeparam>
203 <returns>A structure that contains information about which portion of the loop completed.</returns>
204 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="parallelOptions">parallelOptions</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null. -or- The <paramref name="localInit">localInit</paramref> or <paramref name="localFinally">localFinally</paramref> argument is null.</exception>
205 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions"></see> property in the <paramref name="source">source</paramref><see cref="T:System.Collections.Concurrent.Partitioner"></see> returns false or the partitioner returns null partitions.</exception>
206 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
207 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> argument is canceled.</exception>
208 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource"></see> associated with the <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> has been disposed.</exception>
210 <member name="M:System.Threading.Tasks.Parallel.ForEach``2(System.Collections.Generic.IEnumerable{``0},System.Func{``1},System.Func{``0,System.Threading.Tasks.ParallelLoopState,``1,``1},System.Action{``1})">
211 <summary>Executes a foreach (For Each in Visual Basic) operation with thread-local data on an <see cref="T:System.Collections.IEnumerable"></see> in which iterations may run in parallel, and the state of the loop can be monitored and manipulated.</summary>
212 <param name="source">An enumerable data source.</param>
213 <param name="localInit">The function delegate that returns the initial state of the local data for each task.</param>
214 <param name="body">The delegate that is invoked once per iteration.</param>
215 <param name="localFinally">The delegate that performs a final action on the local state of each task.</param>
216 <typeparam name="TSource">The type of the data in the source.</typeparam>
217 <typeparam name="TLocal">The type of the thread-local data.</typeparam>
218 <returns>A structure that contains information about which portion of the loop completed.</returns>
219 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null. -or- The <paramref name="localInit">localInit</paramref> argument is null. -or- The <paramref name="localFinally">localFinally</paramref> argument is null.</exception>
220 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
222 <member name="M:System.Threading.Tasks.Parallel.ForEach``2(System.Collections.Generic.IEnumerable{``0},System.Func{``1},System.Func{``0,System.Threading.Tasks.ParallelLoopState,System.Int64,``1,``1},System.Action{``1})">
223 <summary>Executes a foreach (For Each in Visual Basic) operation with thread-local data on an <see cref="T:System.Collections.IEnumerable"></see> in which iterations may run in parallel and the state of the loop can be monitored and manipulated.</summary>
224 <param name="source">An enumerable data source.</param>
225 <param name="localInit">The function delegate that returns the initial state of the local data for each task.</param>
226 <param name="body">The delegate that is invoked once per iteration.</param>
227 <param name="localFinally">The delegate that performs a final action on the local state of each task.</param>
228 <typeparam name="TSource">The type of the data in the source.</typeparam>
229 <typeparam name="TLocal">The type of the thread-local data.</typeparam>
230 <returns>A structure that contains information about which portion of the loop completed.</returns>
231 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null. -or- The <paramref name="localInit">localInit</paramref> argument is null. -or- The <paramref name="localFinally">localFinally</paramref> argument is null.</exception>
232 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
234 <member name="M:System.Threading.Tasks.Parallel.ForEach``2(System.Collections.Concurrent.Partitioner{``0},System.Func{``1},System.Func{``0,System.Threading.Tasks.ParallelLoopState,``1,``1},System.Action{``1})">
235 <summary>Executes a foreach (For Each in Visual Basic) operation with thread-local data on a <see cref="T:System.Collections.Concurrent.Partitioner"></see> in which iterations may run in parallel and the state of the loop can be monitored and manipulated.</summary>
236 <param name="source">The partitioner that contains the original data source.</param>
237 <param name="localInit">The function delegate that returns the initial state of the local data for each task.</param>
238 <param name="body">The delegate that is invoked once per iteration.</param>
239 <param name="localFinally">The delegate that performs a final action on the local state of each task.</param>
240 <typeparam name="TSource">The type of the elements in source.</typeparam>
241 <typeparam name="TLocal">The type of the thread-local data.</typeparam>
242 <returns>A structure that contains information about which portion of the loop completed.</returns>
243 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null. -or- The <paramref name="localInit">localInit</paramref> argument is null. -or- The <paramref name="localFinally">localFinally</paramref> argument is null.</exception>
244 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions"></see> property in the <paramref name="source">source</paramref><see cref="T:System.Collections.Concurrent.Partitioner"></see> returns false or the partitioner returns null partitions.</exception>
245 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
247 <member name="M:System.Threading.Tasks.Parallel.ForEach``2(System.Collections.Concurrent.OrderablePartitioner{``0},System.Func{``1},System.Func{``0,System.Threading.Tasks.ParallelLoopState,System.Int64,``1,``1},System.Action{``1})">
248 <summary>Executes a foreach (For Each in Visual Basic) operation with thread-local data on a <see cref="T:System.Collections.Concurrent.OrderablePartitioner`1"></see> in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated.</summary>
249 <param name="source">The orderable partitioner that contains the original data source.</param>
250 <param name="localInit">The function delegate that returns the initial state of the local data for each task.</param>
251 <param name="body">The delegate that is invoked once per iteration.</param>
252 <param name="localFinally">The delegate that performs a final action on the local state of each task.</param>
253 <typeparam name="TSource">The type of the elements in source.</typeparam>
254 <typeparam name="TLocal">The type of the thread-local data.</typeparam>
255 <returns>A structure that contains information about which portion of the loop completed.</returns>
256 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null. -or- The <paramref name="localInit">localInit</paramref> argument is null. -or- The <paramref name="localFinally">localFinally</paramref> argument is null.</exception>
257 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions"></see> property in the <paramref name="source">source</paramref><see cref="T:System.Collections.Concurrent.Partitioner"></see> returns false or the partitioner returns null partitions.</exception>
258 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
260 <member name="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Threading.Tasks.ParallelOptions,System.Action{``0})">
261 <summary>Executes a foreach (For Each in Visual Basic) operation on an <see cref="T:System.Collections.IEnumerable"></see> in which iterations may run in parallel and loop options can be configured.</summary>
262 <param name="source">An enumerable data source.</param>
263 <param name="parallelOptions">An object that configures the behavior of this operation.</param>
264 <param name="body">The delegate that is invoked once per iteration.</param>
265 <typeparam name="TSource">The type of the data in the source.</typeparam>
266 <returns>A structure that contains information about which portion of the loop completed.</returns>
267 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> argument is canceled</exception>
268 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="parallelOptions">parallelOptions</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null.</exception>
269 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
270 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource"></see> associated with the <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> has been disposed.</exception>
272 <member name="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Threading.Tasks.ParallelOptions,System.Action{``0,System.Threading.Tasks.ParallelLoopState})">
273 <summary>Executes a foreach (For Each in Visual Basic) operation on an <see cref="T:System.Collections.IEnumerable"></see> in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated.</summary>
274 <param name="source">An enumerable data source.</param>
275 <param name="parallelOptions">An object that configures the behavior of this operation.</param>
276 <param name="body">The delegate that is invoked once per iteration.</param>
277 <typeparam name="TSource">The type of the data in the source.</typeparam>
278 <returns>A structure that contains information about which portion of the loop completed.</returns>
279 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> argument is canceled</exception>
280 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="parallelOptions">parallelOptions</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null.</exception>
281 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
282 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource"></see> associated with the <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> has been disposed.</exception>
284 <member name="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0,System.Threading.Tasks.ParallelLoopState})">
285 <summary>Executes a foreach (For Each in Visual Basic) operation on an <see cref="T:System.Collections.IEnumerable"></see> in which iterations may run in parallel, and the state of the loop can be monitored and manipulated.</summary>
286 <param name="source">An enumerable data source.</param>
287 <param name="body">The delegate that is invoked once per iteration.</param>
288 <typeparam name="TSource">The type of the data in the source.</typeparam>
289 <returns>A structure that contains information about which portion of the loop completed.</returns>
290 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null.</exception>
291 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
293 <member name="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Concurrent.Partitioner{``0},System.Threading.Tasks.ParallelOptions,System.Action{``0})">
294 <summary>Executes a foreach (For Each in Visual Basic) operation on a <see cref="T:System.Collections.Concurrent.Partitioner"></see> in which iterations may run in parallel and loop options can be configured.</summary>
295 <param name="source">The partitioner that contains the original data source.</param>
296 <param name="parallelOptions">An object that configures the behavior of this operation.</param>
297 <param name="body">The delegate that is invoked once per iteration.</param>
298 <typeparam name="TSource">The type of the elements in source.</typeparam>
299 <returns>A structure that contains information about which portion of the loop completed.</returns>
300 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> argument is canceled.</exception>
301 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource"></see> associated with the <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> has been disposed.</exception>
302 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="parallelOptions">parallelOptions</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null.</exception>
303 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions"></see> property in the <paramref name="source">source</paramref> partitioner returns false. -or- The exception that is thrown when any methods in the <paramref name="source">source</paramref> partitioner return null.</exception>
305 <member name="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Concurrent.Partitioner{``0},System.Threading.Tasks.ParallelOptions,System.Action{``0,System.Threading.Tasks.ParallelLoopState})">
306 <summary>Executes a foreach (For Each in Visual Basic) operation on a <see cref="T:System.Collections.Concurrent.Partitioner"></see> in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated.</summary>
307 <param name="source">The partitioner that contains the original data source.</param>
308 <param name="parallelOptions">An object that configures the behavior of this operation.</param>
309 <param name="body">The delegate that is invoked once per iteration.</param>
310 <typeparam name="TSource">The type of the elements in source.</typeparam>
311 <returns>A structure that contains information about which portion of the loop completed.</returns>
312 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> argument is canceled.</exception>
313 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource"></see> associated with the <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> has been disposed.</exception>
314 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="parallelOptions">parallelOptions</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null.</exception>
315 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions"></see> property in the <paramref name="source">source</paramref> partitioner returns false. -or- The exception that is thrown when any methods in the <paramref name="source">source</paramref> partitioner return null.</exception>
317 <member name="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Concurrent.OrderablePartitioner{``0},System.Threading.Tasks.ParallelOptions,System.Action{``0,System.Threading.Tasks.ParallelLoopState,System.Int64})">
318 <summary>Executes a foreach (For Each in Visual Basic) operation on a <see cref="T:System.Collections.Concurrent.OrderablePartitioner`1"></see> in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated.</summary>
319 <param name="source">The orderable partitioner that contains the original data source.</param>
320 <param name="parallelOptions">An object that configures the behavior of this operation.</param>
321 <param name="body">The delegate that is invoked once per iteration.</param>
322 <typeparam name="TSource">The type of the elements in source.</typeparam>
323 <returns>A structure that contains information about which portion of the loop completed.</returns>
324 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> argument is canceled</exception>
325 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="parallelOptions">parallelOptions</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null.</exception>
326 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource"></see> associated with the <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> has been disposed.</exception>
327 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions"></see> property in the <paramref name="source">source</paramref> orderable partitioner returns false. -or- The <see cref="P:System.Collections.Concurrent.OrderablePartitioner`1.KeysNormalized"></see> property in the <paramref name="source">source</paramref> orderable partitioner returns false. -or- The exception that is thrown when any methods in the <paramref name="source">source</paramref> orderable partitioner return null.</exception>
329 <member name="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0})">
330 <summary>Executes a foreach (For Each in Visual Basic) operation on an <see cref="T:System.Collections.IEnumerable"></see> in which iterations may run in parallel.</summary>
331 <param name="source">An enumerable data source.</param>
332 <param name="body">The delegate that is invoked once per iteration.</param>
333 <typeparam name="TSource">The type of the data in the source.</typeparam>
334 <returns>A structure that contains information about which portion of the loop completed.</returns>
335 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null.</exception>
336 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
338 <member name="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0,System.Threading.Tasks.ParallelLoopState,System.Int64})">
339 <summary>Executes a foreach (For Each in Visual Basic) operation with 64-bit indexes on an <see cref="T:System.Collections.IEnumerable"></see> in which iterations may run in parallel, and the state of the loop can be monitored and manipulated.</summary>
340 <param name="source">An enumerable data source.</param>
341 <param name="body">The delegate that is invoked once per iteration.</param>
342 <typeparam name="TSource">The type of the data in the source.</typeparam>
343 <returns>A structure that contains information about which portion of the loop completed.</returns>
344 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null.</exception>
345 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
347 <member name="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Concurrent.Partitioner{``0},System.Action{``0})">
348 <summary>Executes a foreach (For Each in Visual Basic) operation on a <see cref="T:System.Collections.Concurrent.Partitioner"></see> in which iterations may run in parallel.</summary>
349 <param name="source">The partitioner that contains the original data source.</param>
350 <param name="body">The delegate that is invoked once per iteration.</param>
351 <typeparam name="TSource">The type of the elements in source.</typeparam>
352 <returns>A structure that contains information about which portion of the loop completed.</returns>
353 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null.</exception>
354 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions"></see> property in the <paramref name="source">source</paramref> partitioner returns false. -or- The exception that is thrown when any methods in the <paramref name="source">source</paramref> partitioner return null. -or- The <see cref="M:System.Collections.Concurrent.Partitioner`1.GetPartitions(System.Int32)"></see> method in the <paramref name="source">source</paramref> partitioner does not return the correct number of partitions.</exception>
356 <member name="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Concurrent.Partitioner{``0},System.Action{``0,System.Threading.Tasks.ParallelLoopState})">
357 <summary>Executes a foreach (For Each in Visual Basic) operation on a <see cref="T:System.Collections.Concurrent.Partitioner"></see> in which iterations may run in parallel, and the state of the loop can be monitored and manipulated.</summary>
358 <param name="source">The partitioner that contains the original data source.</param>
359 <param name="body">The delegate that is invoked once per iteration.</param>
360 <typeparam name="TSource">The type of the elements in source.</typeparam>
361 <returns>A structure that contains information about which portion of the loop completed.</returns>
362 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null.</exception>
363 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions"></see> property in the <paramref name="source">source</paramref> partitioner returns false. -or- A method in the <paramref name="source">source</paramref> partitioner returns null. -or- The <see cref="M:System.Collections.Concurrent.Partitioner`1.GetPartitions(System.Int32)"></see> method in the <paramref name="source">source</paramref> partitioner does not return the correct number of partitions.</exception>
365 <member name="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Concurrent.OrderablePartitioner{``0},System.Action{``0,System.Threading.Tasks.ParallelLoopState,System.Int64})">
366 <summary>Executes a foreach (For Each in Visual Basic) operation on a <see cref="T:System.Collections.Concurrent.OrderablePartitioner`1"></see> in which iterations may run in parallel and the state of the loop can be monitored and manipulated.</summary>
367 <param name="source">The orderable partitioner that contains the original data source.</param>
368 <param name="body">The delegate that is invoked once per iteration.</param>
369 <typeparam name="TSource">The type of the elements in source.</typeparam>
370 <returns>A structure that contains information about which portion of the loop completed.</returns>
371 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null.</exception>
372 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions"></see> property in the <paramref name="source">source</paramref> orderable partitioner returns false. -or- The <see cref="P:System.Collections.Concurrent.OrderablePartitioner`1.KeysNormalized"></see> property in the source orderable partitioner returns false. -or- Any methods in the source orderable partitioner return null.</exception>
374 <member name="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Threading.Tasks.ParallelOptions,System.Action{``0,System.Threading.Tasks.ParallelLoopState,System.Int64})">
375 <summary>Executes a foreach (For Each in Visual Basic) operation with 64-bit indexes on an <see cref="T:System.Collections.IEnumerable"></see> in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated.</summary>
376 <param name="source">An enumerable data source.</param>
377 <param name="parallelOptions">An object that configures the behavior of this operation.</param>
378 <param name="body">The delegate that is invoked once per iteration.</param>
379 <typeparam name="TSource">The type of the data in the source.</typeparam>
380 <returns>A structure that contains information about which portion of the loop completed.</returns>
381 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> argument is canceled</exception>
382 <exception cref="T:System.ArgumentNullException">The <paramref name="source">source</paramref> argument is null. -or- The <paramref name="parallelOptions">parallelOptions</paramref> argument is null. -or- The <paramref name="body">body</paramref> argument is null.</exception>
383 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
384 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource"></see> associated with the <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> has been disposed.</exception>
386 <member name="M:System.Threading.Tasks.Parallel.Invoke(System.Action[])">
387 <summary>Executes each of the provided actions, possibly in parallel.</summary>
388 <param name="actions">An array of <see cref="T:System.Action"></see> to execute.</param>
389 <exception cref="T:System.ArgumentNullException">The <paramref name="actions">actions</paramref> argument is null.</exception>
390 <exception cref="T:System.AggregateException">The exception that is thrown when any action in the <paramref name="actions">actions</paramref> array throws an exception.</exception>
391 <exception cref="T:System.ArgumentException">The <paramref name="actions">actions</paramref> array contains a null element.</exception>
393 <member name="M:System.Threading.Tasks.Parallel.Invoke(System.Threading.Tasks.ParallelOptions,System.Action[])">
394 <summary>Executes each of the provided actions, possibly in parallel, unless the operation is cancelled by the user.</summary>
395 <param name="parallelOptions">An object that configures the behavior of this operation.</param>
396 <param name="actions">An array of actions to execute.</param>
397 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> is set.</exception>
398 <exception cref="T:System.ArgumentNullException">The <paramref name="actions">actions</paramref> argument is null. -or- The <paramref name="parallelOptions">parallelOptions</paramref> argument is null.</exception>
399 <exception cref="T:System.AggregateException">The exception that is thrown when any action in the <paramref name="actions">actions</paramref> array throws an exception.</exception>
400 <exception cref="T:System.ArgumentException">The <paramref name="actions">actions</paramref> array contains a null element.</exception>
401 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource"></see> associated with the <see cref="T:System.Threading.CancellationToken"></see> in the <paramref name="parallelOptions">parallelOptions</paramref> has been disposed.</exception>
403 <member name="T:System.Threading.Tasks.ParallelLoopResult">
404 <summary>Provides completion status on the execution of a <see cref="T:System.Threading.Tasks.Parallel"></see> loop.</summary>
406 <member name="P:System.Threading.Tasks.ParallelLoopResult.IsCompleted">
407 <summary>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.</summary>
408 <returns>true if the loop ran to completion; otherwise false;</returns>
410 <member name="P:System.Threading.Tasks.ParallelLoopResult.LowestBreakIteration">
411 <summary>Gets the index of the lowest iteration from which <see cref="M:System.Threading.Tasks.ParallelLoopState.Break"></see> was called.</summary>
412 <returns>Returns an integer that represents the lowest iteration from which the Break statement was called.</returns>
414 <member name="T:System.Threading.Tasks.ParallelLoopState">
415 <summary>Enables iterations of parallel loops to interact with other iterations. An instance of this class is provided by the <see cref="T:System.Threading.Tasks.Parallel"></see> class to each loop; you can not create instances in your code.</summary>
417 <member name="M:System.Threading.Tasks.ParallelLoopState.Break">
418 <summary>Communicates that the <see cref="T:System.Threading.Tasks.Parallel"></see> loop should cease execution of iterations beyond the current iteration at the system's earliest convenience.</summary>
419 <exception cref="T:System.InvalidOperationException">The <see cref="M:System.Threading.Tasks.ParallelLoopState.Stop"></see> method was previously called. <see cref="M:System.Threading.Tasks.ParallelLoopState.Break"></see> and <see cref="M:System.Threading.Tasks.ParallelLoopState.Stop"></see> may not be used in combination by iterations of the same loop.</exception>
421 <member name="P:System.Threading.Tasks.ParallelLoopState.IsExceptional">
422 <summary>Gets whether any iteration of the loop has thrown an exception that went unhandled by that iteration.</summary>
423 <returns>true if an unhandled exception was thrown; otherwise, false.</returns>
425 <member name="P:System.Threading.Tasks.ParallelLoopState.IsStopped">
426 <summary>Gets whether any iteration of the loop has called the <see cref="M:System.Threading.Tasks.ParallelLoopState.Stop"></see> method.</summary>
427 <returns>true if any iteration has stopped the loop by calling the <see cref="M:System.Threading.Tasks.ParallelLoopState.Stop"></see> method; otherwise, false.</returns>
429 <member name="P:System.Threading.Tasks.ParallelLoopState.LowestBreakIteration">
430 <summary>Gets the lowest iteration of the loop from which <see cref="M:System.Threading.Tasks.ParallelLoopState.Break"></see> was called.</summary>
431 <returns>The lowest iteration from which <see cref="M:System.Threading.Tasks.ParallelLoopState.Break"></see> was called. In the case of a <see cref="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Concurrent.Partitioner{``0},System.Action{``0})"></see> loop, the value is based on an internally-generated index.</returns>
433 <member name="P:System.Threading.Tasks.ParallelLoopState.ShouldExitCurrentIteration">
434 <summary>Gets whether the current iteration of the loop should exit based on requests made by this or other iterations.</summary>
435 <returns>true if the current iteration should exit; otherwise, false.</returns>
437 <member name="M:System.Threading.Tasks.ParallelLoopState.Stop">
438 <summary>Communicates that the <see cref="T:System.Threading.Tasks.Parallel"></see> loop should cease execution at the system's earliest convenience.</summary>
439 <exception cref="T:System.InvalidOperationException">The <see cref="M:System.Threading.Tasks.ParallelLoopState.Break"></see> method was called previously. <see cref="M:System.Threading.Tasks.ParallelLoopState.Break"></see> and <see cref="M:System.Threading.Tasks.ParallelLoopState.Stop"></see> may not be used in combination by iterations of the same loop.</exception>
441 <member name="T:System.Threading.Tasks.ParallelOptions">
442 <summary>Stores options that configure the operation of methods on the <see cref="T:System.Threading.Tasks.Parallel"></see> class.</summary>
444 <member name="M:System.Threading.Tasks.ParallelOptions.#ctor">
445 <summary>Initializes a new instance of the <see cref="T:System.Threading.Tasks.ParallelOptions"></see> class.</summary>
447 <member name="P:System.Threading.Tasks.ParallelOptions.CancellationToken">
448 <summary>Gets or sets the <see cref="T:System.Threading.CancellationToken"></see> associated with this <see cref="T:System.Threading.Tasks.ParallelOptions"></see> instance.</summary>
449 <returns>The token that is associated with this instance.</returns>
451 <member name="P:System.Threading.Tasks.ParallelOptions.MaxDegreeOfParallelism">
452 <summary>Gets or sets the maximum number of concurrent tasks enabled by this <see cref="T:System.Threading.Tasks.ParallelOptions"></see> instance.</summary>
453 <returns>An integer that represents the maximum degree of parallelism.</returns>
454 <exception cref="T:System.ArgumentOutOfRangeException">The property is being set to zero or to a value that is less than -1.</exception>
456 <member name="P:System.Threading.Tasks.ParallelOptions.TaskScheduler">
457 <summary>Gets or sets the <see cref="T:System.Threading.Tasks.TaskScheduler"></see> associated with this <see cref="T:System.Threading.Tasks.ParallelOptions"></see> instance. Setting this property to null indicates that the current scheduler should be used.</summary>
458 <returns>The task scheduler that is associated with this instance.</returns>