1 <?xml version="1.0" encoding="utf-8"?>
4 <name>System.Threading.Tasks.Parallel</name>
7 <member name="T:System.Threading.Tasks.Parallel">
8 <summary>提供对并行循环和区域的支持。</summary>
10 <member name="M:System.Threading.Tasks.Parallel.For(System.Int32,System.Int32,System.Action{System.Int32})">
11 <summary>执行 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代。</summary>
12 <returns>包含有关已完成的循环部分的信息的结构。</returns>
13 <param name="fromInclusive">开始索引(含)。</param>
14 <param name="toExclusive">结束索引(不含)。</param>
15 <param name="body">将为每个迭代调用一次的委托。</param>
16 <exception cref="T:System.ArgumentNullException">The <paramref name="body" /> 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,System.Threading.Tasks.ParallelLoopState})">
20 <summary>执行 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以监视和操作循环的状态。 </summary>
21 <returns>包含有关已完成的循环部分的信息的结构。</returns>
22 <param name="fromInclusive">开始索引(含)。</param>
23 <param name="toExclusive">结束索引(不含)。</param>
24 <param name="body">将为每个迭代调用一次的委托。</param>
25 <exception cref="T:System.ArgumentNullException">The <paramref name="body" /> 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``1(System.Int32,System.Int32,System.Func{``0},System.Func{System.Int32,System.Threading.Tasks.ParallelLoopState,``0,``0},System.Action{``0})">
29 <summary>执行具有线程本地数据的 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以监视和操作循环的状态。</summary>
30 <returns>包含有关已完成的循环部分的信息的结构。</returns>
31 <param name="fromInclusive">开始索引(含)。</param>
32 <param name="toExclusive">结束索引(不含)。</param>
33 <param name="localInit">用于返回每个任务的本地数据的初始状态的函数委托。</param>
34 <param name="body">将为每个迭代调用一次的委托。</param>
35 <param name="localFinally">用于对每个任务的本地状态执行一个最终操作的委托。</param>
36 <typeparam name="TLocal">线程本地数据的类型。</typeparam>
37 <exception cref="T:System.ArgumentNullException">The <paramref name="body" /> argument is null.-or-The <paramref name="localInit" /> argument is null.-or-The <paramref name="localFinally" /> argument is null.</exception>
38 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
40 <member name="M:System.Threading.Tasks.Parallel.For(System.Int32,System.Int32,System.Threading.Tasks.ParallelOptions,System.Action{System.Int32})">
41 <summary>执行 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以配置循环选项。</summary>
42 <returns>包含有关已完成的循环部分的信息的结构。</returns>
43 <param name="fromInclusive">开始索引(含)。</param>
44 <param name="toExclusive">结束索引(不含)。</param>
45 <param name="parallelOptions">一个对象,用于配置此操作的行为。</param>
46 <param name="body">将为每个迭代调用一次的委托。</param>
47 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> argument is canceled.</exception>
48 <exception cref="T:System.ArgumentNullException">The <paramref name="body" /> argument is null.-or-The <paramref name="parallelOptions" /> argument is null.</exception>
49 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
50 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with the <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> has been disposed.</exception>
52 <member name="M:System.Threading.Tasks.Parallel.For(System.Int32,System.Int32,System.Threading.Tasks.ParallelOptions,System.Action{System.Int32,System.Threading.Tasks.ParallelLoopState})">
53 <summary>执行 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。</summary>
54 <returns>包含有关已完成的循环部分的信息的结构。</returns>
55 <param name="fromInclusive">开始索引(含)。</param>
56 <param name="toExclusive">结束索引(不含)。</param>
57 <param name="parallelOptions">一个对象,用于配置此操作的行为。</param>
58 <param name="body">将为每个迭代调用一次的委托。</param>
59 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> argument is canceled.</exception>
60 <exception cref="T:System.ArgumentNullException">The <paramref name="body" /> argument is null.-or-The <paramref name="parallelOptions" /> argument is null.</exception>
61 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
62 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with the <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> has been disposed.</exception>
64 <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})">
65 <summary>执行具有线程本地数据的 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。</summary>
66 <returns>包含有关已完成的循环部分的信息的结构。</returns>
67 <param name="fromInclusive">开始索引(含)。</param>
68 <param name="toExclusive">结束索引(不含)。</param>
69 <param name="parallelOptions">一个对象,用于配置此操作的行为。</param>
70 <param name="localInit">用于返回每个任务的本地数据的初始状态的函数委托。</param>
71 <param name="body">将为每个迭代调用一次的委托。</param>
72 <param name="localFinally">用于对每个任务的本地状态执行一个最终操作的委托。</param>
73 <typeparam name="TLocal">线程本地数据的类型。</typeparam>
74 <exception cref="T:System.ArgumentNullException">The <paramref name="body" /> argument is null.-or-The <paramref name="localInit" /> argument is null.-or-The <paramref name="localFinally" /> argument is null.-or-The <paramref name="parallelOptions" /> argument is null.</exception>
75 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> argument is canceled.</exception>
76 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with the <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> has been disposed.</exception>
77 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
79 <member name="M:System.Threading.Tasks.Parallel.For(System.Int64,System.Int64,System.Action{System.Int64})">
80 <summary>执行具有 64 位索引的 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代。</summary>
81 <returns>包含有关已完成的循环部分的信息的结构。</returns>
82 <param name="fromInclusive">开始索引(含)。</param>
83 <param name="toExclusive">结束索引(不含)。</param>
84 <param name="body">将为每个迭代调用一次的委托。</param>
85 <exception cref="T:System.ArgumentNullException">The <paramref name="body" /> argument is null.</exception>
86 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
88 <member name="M:System.Threading.Tasks.Parallel.For(System.Int64,System.Int64,System.Action{System.Int64,System.Threading.Tasks.ParallelLoopState})">
89 <summary>执行具有 64 位索引的 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以监视和操作循环的状态。</summary>
90 <returns>一个 <see cref="T:System.Threading.Tasks.ParallelLoopResult" /> 结构,其中包含有关已完成的循环部分的信息。</returns>
91 <param name="fromInclusive">开始索引(含)。</param>
92 <param name="toExclusive">结束索引(不含)。</param>
93 <param name="body">将为每个迭代调用一次的委托。</param>
94 <exception cref="T:System.ArgumentNullException">The <paramref name="body" /> argument is null.</exception>
95 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
97 <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})">
98 <summary>执行具有 64 位索引和线程本地数据的 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以监视和操作循环的状态。</summary>
99 <returns>包含有关已完成的循环部分的信息的结构。</returns>
100 <param name="fromInclusive">开始索引(含)。</param>
101 <param name="toExclusive">结束索引(不含)。</param>
102 <param name="localInit">用于返回每个任务的本地数据的初始状态的函数委托。</param>
103 <param name="body">将为每个迭代调用一次的委托。</param>
104 <param name="localFinally">用于对每个任务的本地状态执行一个最终操作的委托。</param>
105 <typeparam name="TLocal">线程本地数据的类型。</typeparam>
106 <exception cref="T:System.ArgumentNullException">The <paramref name="body" /> argument is null.-or-The <paramref name="localInit" /> argument is null.-or-The <paramref name="localFinally" /> argument is null.</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(System.Int64,System.Int64,System.Threading.Tasks.ParallelOptions,System.Action{System.Int64})">
110 <summary>执行具有 64 位索引的 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以配置循环选项。</summary>
111 <returns>包含有关已完成的循环部分的信息的结构。</returns>
112 <param name="fromInclusive">开始索引(含)。</param>
113 <param name="toExclusive">结束索引(不含)。</param>
114 <param name="parallelOptions">一个对象,用于配置此操作的行为。</param>
115 <param name="body">将为每个迭代调用一次的委托。</param>
116 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> argument is canceled.</exception>
117 <exception cref="T:System.ArgumentNullException">The <paramref name="body" /> argument is null.-or-The <paramref name="parallelOptions" /> argument is null.</exception>
118 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
119 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with the <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> has been disposed.</exception>
121 <member name="M:System.Threading.Tasks.Parallel.For(System.Int64,System.Int64,System.Threading.Tasks.ParallelOptions,System.Action{System.Int64,System.Threading.Tasks.ParallelLoopState})">
122 <summary>执行具有 64 位索引的 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。</summary>
123 <returns>包含有关已完成的循环部分的信息的结构。</returns>
124 <param name="fromInclusive">开始索引(含)。</param>
125 <param name="toExclusive">结束索引(不含)。</param>
126 <param name="parallelOptions">一个对象,用于配置此操作的行为。</param>
127 <param name="body">将为每个迭代调用一次的委托。</param>
128 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> argument is canceled.</exception>
129 <exception cref="T:System.ArgumentNullException">The <paramref name="body" /> argument is null.-or-The <paramref name="parallelOptions" /> argument is null.</exception>
130 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
131 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with the <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> has been disposed.</exception>
133 <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})">
134 <summary>执行具有 64 位索引和线程本地数据的 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。</summary>
135 <returns>包含有关已完成的循环部分的信息的结构。</returns>
136 <param name="fromInclusive">开始索引(含)。</param>
137 <param name="toExclusive">结束索引(不含)。</param>
138 <param name="parallelOptions">一个对象,用于配置此操作的行为。</param>
139 <param name="localInit">用于返回每个线程的本地数据的初始状态的函数委托。</param>
140 <param name="body">将为每个迭代调用一次的委托。</param>
141 <param name="localFinally">用于对每个线程的本地状态执行一个最终操作的委托。</param>
142 <typeparam name="TLocal">线程本地数据的类型。</typeparam>
143 <exception cref="T:System.ArgumentNullException">The <paramref name="body" /> argument is null.-or-The <paramref name="localInit" /> argument is null.-or-The <paramref name="localFinally" /> argument is null.-or-The <paramref name="parallelOptions" /> argument is null.</exception>
144 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> argument is canceled.</exception>
145 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with the <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> has been disposed.</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``1(System.Collections.Concurrent.OrderablePartitioner{``0},System.Action{``0,System.Threading.Tasks.ParallelLoopState,System.Int64})">
149 <summary>执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.Concurrent.OrderablePartitioner`1" /> 中可能会并行运行迭代,而且可以监视和操作循环的状态。</summary>
150 <returns>包含有关已完成的循环部分的信息的结构。</returns>
151 <param name="source">包含原始数据源的可排序分区程序。</param>
152 <param name="body">将为每个迭代调用一次的委托。</param>
153 <typeparam name="TSource">
154 <paramref name="source" /> 中的元素的类型。</typeparam>
155 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="body" /> argument is null.</exception>
156 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions" /> property in the <paramref name="source" /> orderable partitioner returns false.-or-The <see cref="P:System.Collections.Concurrent.OrderablePartitioner`1.KeysNormalized" /> property in the source orderable partitioner returns false.-or-Any methods in the source orderable partitioner return null.</exception>
158 <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})">
159 <summary>执行具有线程本地数据的 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.Concurrent.OrderablePartitioner`1" /> 上可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。</summary>
160 <returns>包含有关已完成的循环部分的信息的结构。</returns>
161 <param name="source">包含原始数据源的可排序分区程序。</param>
162 <param name="localInit">用于返回每个任务的本地数据的初始状态的函数委托。</param>
163 <param name="body">将为每个迭代调用一次的委托。</param>
164 <param name="localFinally">用于对每个任务的本地状态执行一个最终操作的委托。</param>
165 <typeparam name="TSource">
166 <paramref name="source" /> 中的元素的类型。</typeparam>
167 <typeparam name="TLocal">线程本地数据的类型。</typeparam>
168 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="body" /> argument is null.-or-The <paramref name="localInit" /> argument is null.-or-The <paramref name="localFinally" /> argument is null.</exception>
169 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions" /> property in the <paramref name="source" /><see cref="T:System.Collections.Concurrent.Partitioner" /> returns false or the partitioner returns null partitions.</exception>
170 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
172 <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})">
173 <summary>执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.Concurrent.OrderablePartitioner`1" /> 中可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。</summary>
174 <returns>包含有关已完成的循环部分的信息的结构。</returns>
175 <param name="source">包含原始数据源的可排序分区程序。</param>
176 <param name="parallelOptions">一个对象,用于配置此操作的行为。</param>
177 <param name="body">将为每个迭代调用一次的委托。</param>
178 <typeparam name="TSource">
179 <paramref name="source" /> 中的元素的类型。</typeparam>
180 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> argument is canceled</exception>
181 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="parallelOptions" /> argument is null.-or-The <paramref name="body" /> argument is null.</exception>
182 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with the <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> has been disposed.</exception>
183 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions" /> property in the <paramref name="source" /> orderable partitioner returns false.-or-The <see cref="P:System.Collections.Concurrent.OrderablePartitioner`1.KeysNormalized" /> property in the <paramref name="source" /> orderable partitioner returns false.-or-The exception that is thrown when any methods in the <paramref name="source" /> orderable partitioner return null.</exception>
185 <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})">
186 <summary>执行具有 64 位索引和线程本地数据的 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.Concurrent.OrderablePartitioner`1" /> 上可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。</summary>
187 <returns>包含有关已完成的循环部分的信息的结构。</returns>
188 <param name="source">包含原始数据源的可排序分区程序。</param>
189 <param name="parallelOptions">一个对象,用于配置此操作的行为。</param>
190 <param name="localInit">用于返回每个任务的本地数据的初始状态的函数委托。</param>
191 <param name="body">将为每个迭代调用一次的委托。</param>
192 <param name="localFinally">用于对每个任务的本地状态执行一个最终操作的委托。</param>
193 <typeparam name="TSource">
194 <paramref name="source" /> 中的元素的类型。</typeparam>
195 <typeparam name="TLocal">线程本地数据的类型。</typeparam>
196 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="parallelOptions" /> argument is null.-or-The <paramref name="body" /> argument is null.-or-The <paramref name="localInit" /> or <paramref name="localFinally" /> argument is null.</exception>
197 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions" /> property in the <paramref name="source" /><see cref="T:System.Collections.Concurrent.Partitioner" /> returns false or the partitioner returns null partitions.</exception>
198 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
199 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> argument is canceled.</exception>
200 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with the <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> has been disposed.</exception>
202 <member name="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Concurrent.Partitioner{``0},System.Action{``0})">
203 <summary>执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.Concurrent.Partitioner" /> 上可能会并行运行迭代。</summary>
204 <returns>包含有关已完成的循环部分的信息的结构。</returns>
205 <param name="source">包含原始数据源的分区程序。</param>
206 <param name="body">将为每个迭代调用一次的委托。</param>
207 <typeparam name="TSource">
208 <paramref name="source" /> 中的元素的类型。</typeparam>
209 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="body" /> argument is null.</exception>
210 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions" /> property in the <paramref name="source" /> partitioner returns false.-or-The exception that is thrown when any methods in the <paramref name="source" /> partitioner return null.-or-The <see cref="M:System.Collections.Concurrent.Partitioner`1.GetPartitions(System.Int32)" /> method in the <paramref name="source" /> partitioner does not return the correct number of partitions.</exception>
212 <member name="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Concurrent.Partitioner{``0},System.Action{``0,System.Threading.Tasks.ParallelLoopState})">
213 <summary>执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.Concurrent.Partitioner" /> 中可能会并行运行迭代,而且可以监视和操作循环的状态。</summary>
214 <returns>包含有关已完成的循环部分的信息的结构。</returns>
215 <param name="source">包含原始数据源的分区程序。</param>
216 <param name="body">将为每个迭代调用一次的委托。</param>
217 <typeparam name="TSource">
218 <paramref name="source" /> 中的元素的类型。</typeparam>
219 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="body" /> argument is null.</exception>
220 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions" /> property in the <paramref name="source" /> partitioner returns false.-or-A method in the <paramref name="source" /> partitioner returns null.-or-The <see cref="M:System.Collections.Concurrent.Partitioner`1.GetPartitions(System.Int32)" /> method in the <paramref name="source" /> partitioner does not return the correct number of partitions.</exception>
222 <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})">
223 <summary>执行具有线程本地数据的 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.Concurrent.Partitioner" /> 上可能会并行运行迭代,而且可以监视和操作循环的状态。</summary>
224 <returns>包含有关已完成的循环部分的信息的结构。</returns>
225 <param name="source">包含原始数据源的分区程序。</param>
226 <param name="localInit">用于返回每个任务的本地数据的初始状态的函数委托。</param>
227 <param name="body">将为每个迭代调用一次的委托。</param>
228 <param name="localFinally">用于对每个任务的本地状态执行一个最终操作的委托。</param>
229 <typeparam name="TSource">
230 <paramref name="source" /> 中的元素的类型。</typeparam>
231 <typeparam name="TLocal">线程本地数据的类型。</typeparam>
232 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="body" /> argument is null.-or-The <paramref name="localInit" /> argument is null.-or-The <paramref name="localFinally" /> argument is null.</exception>
233 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions" /> property in the <paramref name="source" /><see cref="T:System.Collections.Concurrent.Partitioner" /> returns false or the partitioner returns null partitions.</exception>
234 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
236 <member name="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Concurrent.Partitioner{``0},System.Threading.Tasks.ParallelOptions,System.Action{``0})">
237 <summary>执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.Concurrent.Partitioner" /> 中可能会并行运行迭代,而且可以配置循环选项。</summary>
238 <returns>包含有关已完成的循环部分的信息的结构。</returns>
239 <param name="source">包含原始数据源的分区程序。</param>
240 <param name="parallelOptions">一个对象,用于配置此操作的行为。</param>
241 <param name="body">将为每个迭代调用一次的委托。</param>
242 <typeparam name="TSource">
243 <paramref name="source" /> 中的元素的类型。</typeparam>
244 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> argument is canceled.</exception>
245 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with the <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> has been disposed.</exception>
246 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="parallelOptions" /> argument is null.-or-The <paramref name="body" /> argument is null.</exception>
247 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions" /> property in the <paramref name="source" /> partitioner returns false.-or-The exception that is thrown when any methods in the <paramref name="source" /> partitioner return null.</exception>
249 <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})">
250 <summary>执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.Concurrent.Partitioner" /> 中可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。</summary>
251 <returns>包含有关已完成的循环部分的信息的结构。</returns>
252 <param name="source">包含原始数据源的分区程序。</param>
253 <param name="parallelOptions">一个对象,用于配置此操作的行为。</param>
254 <param name="body">将为每个迭代调用一次的委托。</param>
255 <typeparam name="TSource">
256 <paramref name="source" /> 中的元素的类型。</typeparam>
257 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> argument is canceled.</exception>
258 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with the <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> has been disposed.</exception>
259 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="parallelOptions" /> argument is null.-or-The <paramref name="body" /> argument is null.</exception>
260 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions" /> property in the <paramref name="source" /> partitioner returns false.-or-The exception that is thrown when any methods in the <paramref name="source" /> partitioner return null.</exception>
262 <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})">
263 <summary>执行具有线程本地数据的 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.Concurrent.Partitioner" /> 上可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。</summary>
264 <returns>包含有关已完成的循环部分的信息的结构。</returns>
265 <param name="source">包含原始数据源的分区程序。</param>
266 <param name="parallelOptions">一个对象,用于配置此操作的行为。</param>
267 <param name="localInit">用于返回每个任务的本地数据的初始状态的函数委托。</param>
268 <param name="body">将为每个迭代调用一次的委托。</param>
269 <param name="localFinally">用于对每个任务的本地状态执行一个最终操作的委托。</param>
270 <typeparam name="TSource">
271 <paramref name="source" /> 中的元素的类型。</typeparam>
272 <typeparam name="TLocal">线程本地数据的类型。</typeparam>
273 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="parallelOptions" /> argument is null.-or-The <paramref name="body" /> argument is null.-or-The <paramref name="localInit" /> argument is null.-or-The <paramref name="localFinally" /> argument is null.</exception>
274 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Concurrent.Partitioner`1.SupportsDynamicPartitions" /> property in the <paramref name="source" /><see cref="T:System.Collections.Concurrent.Partitioner" /> returns false or the partitioner returns null partitions.</exception>
275 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
276 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> argument is canceled.</exception>
277 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with the <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> has been disposed.</exception>
279 <member name="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0})">
280 <summary>执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.IEnumerable" /> 上可能会并行运行迭代。</summary>
281 <returns>包含有关已完成的循环部分的信息的结构。</returns>
282 <param name="source">可枚举的数据源。</param>
283 <param name="body">将为每个迭代调用一次的委托。</param>
284 <typeparam name="TSource">源中数据的类型。</typeparam>
285 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="body" /> argument is null.</exception>
286 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
288 <member name="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0,System.Threading.Tasks.ParallelLoopState})">
289 <summary>执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.IEnumerable" /> 中可能会并行运行迭代,而且可以监视和操作循环的状态。</summary>
290 <returns>包含有关已完成的循环部分的信息的结构。</returns>
291 <param name="source">可枚举的数据源。</param>
292 <param name="body">将为每个迭代调用一次的委托。</param>
293 <typeparam name="TSource">源中数据的类型。</typeparam>
294 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="body" /> argument is null.</exception>
295 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
297 <member name="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0,System.Threading.Tasks.ParallelLoopState,System.Int64})">
298 <summary>执行具有 64 位索引的 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.IEnumerable" /> 上可能会并行运行迭代,而且可以监视和操作循环的状态。</summary>
299 <returns>包含有关已完成的循环部分的信息的结构。</returns>
300 <param name="source">可枚举的数据源。</param>
301 <param name="body">将为每个迭代调用一次的委托。</param>
302 <typeparam name="TSource">源中数据的类型。</typeparam>
303 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="body" /> argument is null.</exception>
304 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
306 <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})">
307 <summary>执行具有线程本地数据的 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.IEnumerable" /> 上可能会并行运行迭代,而且可以监视和操作循环的状态。</summary>
308 <returns>包含有关已完成的循环部分的信息的结构。</returns>
309 <param name="source">可枚举的数据源。</param>
310 <param name="localInit">用于返回每个任务的本地数据的初始状态的函数委托。</param>
311 <param name="body">将为每个迭代调用一次的委托。</param>
312 <param name="localFinally">用于对每个任务的本地状态执行一个最终操作的委托。</param>
313 <typeparam name="TSource">源中数据的类型。</typeparam>
314 <typeparam name="TLocal">线程本地数据的类型。</typeparam>
315 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="body" /> argument is null.-or-The <paramref name="localInit" /> argument is null.-or-The <paramref name="localFinally" /> argument is null.</exception>
316 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
318 <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})">
319 <summary>执行具有线程本地数据的 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.IEnumerable" /> 上可能会并行运行迭代,而且可以监视和操作循环的状态。</summary>
320 <returns>包含有关已完成的循环部分的信息的结构。</returns>
321 <param name="source">可枚举的数据源。</param>
322 <param name="localInit">用于返回每个任务的本地数据的初始状态的函数委托。</param>
323 <param name="body">将为每个迭代调用一次的委托。</param>
324 <param name="localFinally">用于对每个任务的本地状态执行一个最终操作的委托。</param>
325 <typeparam name="TSource">源中数据的类型。</typeparam>
326 <typeparam name="TLocal">线程本地数据的类型。</typeparam>
327 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="body" /> argument is null.-or-The <paramref name="localInit" /> argument is null.-or-The <paramref name="localFinally" /> argument is null.</exception>
328 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
330 <member name="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Threading.Tasks.ParallelOptions,System.Action{``0})">
331 <summary>执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.IEnumerable" /> 中可能会并行运行迭代,而且可以匹配配置循环选项。</summary>
332 <returns>包含有关已完成的循环部分的信息的结构。</returns>
333 <param name="source">可枚举的数据源。</param>
334 <param name="parallelOptions">一个对象,用于配置此操作的行为。</param>
335 <param name="body">将为每个迭代调用一次的委托。</param>
336 <typeparam name="TSource">源中数据的类型。</typeparam>
337 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> argument is canceled</exception>
338 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="parallelOptions" /> argument is null.-or-The <paramref name="body" /> argument is null.</exception>
339 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
340 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with the <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> has been disposed.</exception>
342 <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})">
343 <summary>执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.IEnumerable" /> 中可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。</summary>
344 <returns>包含有关已完成的循环部分的信息的结构。</returns>
345 <param name="source">可枚举的数据源。</param>
346 <param name="parallelOptions">一个对象,用于配置此操作的行为。</param>
347 <param name="body">将为每个迭代调用一次的委托。</param>
348 <typeparam name="TSource">源中数据的类型。</typeparam>
349 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> argument is canceled</exception>
350 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="parallelOptions" /> argument is null.-or-The <paramref name="body" /> argument is null.</exception>
351 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
352 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with the <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> has been disposed.</exception>
354 <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})">
355 <summary>执行具有 64 位索引的 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.IEnumerable" /> 上可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。</summary>
356 <returns>包含有关已完成的循环部分的信息的结构。</returns>
357 <param name="source">可枚举的数据源。</param>
358 <param name="parallelOptions">一个对象,用于配置此操作的行为。</param>
359 <param name="body">将为每个迭代调用一次的委托。</param>
360 <typeparam name="TSource">源中数据的类型。</typeparam>
361 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> argument is canceled</exception>
362 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="parallelOptions" /> argument is null.-or-The <paramref name="body" /> argument is null.</exception>
363 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
364 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with the <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> has been disposed.</exception>
366 <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})">
367 <summary>执行具有线程本地数据的 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.IEnumerable" /> 上可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。</summary>
368 <returns>包含有关已完成的循环部分的信息的结构。</returns>
369 <param name="source">可枚举的数据源。</param>
370 <param name="parallelOptions">一个对象,用于配置此操作的行为。</param>
371 <param name="localInit">用于返回每个任务的本地数据的初始状态的函数委托。</param>
372 <param name="body">将为每个迭代调用一次的委托。</param>
373 <param name="localFinally">用于对每个任务的本地状态执行一个最终操作的委托。</param>
374 <typeparam name="TSource">源中数据的类型。</typeparam>
375 <typeparam name="TLocal">线程本地数据的类型。</typeparam>
376 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="parallelOptions" /> argument is null.-or-The <paramref name="body" /> argument is null.-or-The <paramref name="localInit" /> argument is null.-or-The <paramref name="localFinally" /> argument is null.</exception>
377 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> argument is canceled.</exception>
378 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with the <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> has been disposed.</exception>
379 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
381 <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})">
382 <summary>执行具有线程本地数据和 64 位索引的 foreach(在 Visual Basic 中为 For Each)操作,其中在 <see cref="T:System.Collections.IEnumerable" /> 上可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。</summary>
383 <returns>包含有关已完成的循环部分的信息的结构。</returns>
384 <param name="source">可枚举的数据源。</param>
385 <param name="parallelOptions">一个对象,用于配置此操作的行为。</param>
386 <param name="localInit">用于返回每个任务的本地数据的初始状态的函数委托。</param>
387 <param name="body">将为每个迭代调用一次的委托。</param>
388 <param name="localFinally">用于对每个任务的本地状态执行一个最终操作的委托。</param>
389 <typeparam name="TSource">源中数据的类型。</typeparam>
390 <typeparam name="TLocal">线程本地数据的类型。</typeparam>
391 <exception cref="T:System.ArgumentNullException">The <paramref name="source" /> argument is null.-or-The <paramref name="parallelOptions" /> argument is null.-or-The <paramref name="body" /> argument is null.-or-The <paramref name="localInit" /> argument is null.-or-The <paramref name="localFinally" /> argument is null.</exception>
392 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> argument is canceled.</exception>
393 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with the <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> has been disposed.</exception>
394 <exception cref="T:System.AggregateException">The exception that contains all the individual exceptions thrown on all threads.</exception>
396 <member name="M:System.Threading.Tasks.Parallel.Invoke(System.Action[])">
397 <summary>尽可能并行执行提供的每个操作。</summary>
398 <param name="actions">要执行的 <see cref="T:System.Action" /> 数组。</param>
399 <exception cref="T:System.ArgumentNullException">The <paramref name="actions" /> argument is null.</exception>
400 <exception cref="T:System.AggregateException">The exception that is thrown when any action in the <paramref name="actions" /> array throws an exception.</exception>
401 <exception cref="T:System.ArgumentException">The <paramref name="actions" /> array contains a null element.</exception>
403 <member name="M:System.Threading.Tasks.Parallel.Invoke(System.Threading.Tasks.ParallelOptions,System.Action[])">
404 <summary>执行所提供的每个操作,而且尽可能并行运行,除非用户取消了操作。</summary>
405 <param name="parallelOptions">一个对象,用于配置此操作的行为。</param>
406 <param name="actions">要执行的操作数组。</param>
407 <exception cref="T:System.OperationCanceledException">The <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> is set.</exception>
408 <exception cref="T:System.ArgumentNullException">The <paramref name="actions" /> argument is null.-or-The <paramref name="parallelOptions" /> argument is null.</exception>
409 <exception cref="T:System.AggregateException">The exception that is thrown when any action in the <paramref name="actions" /> array throws an exception.</exception>
410 <exception cref="T:System.ArgumentException">The <paramref name="actions" /> array contains a null element.</exception>
411 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with the <see cref="T:System.Threading.CancellationToken" /> in the <paramref name="parallelOptions" /> has been disposed.</exception>
413 <member name="T:System.Threading.Tasks.ParallelLoopResult">
414 <summary>提供执行 <see cref="T:System.Threading.Tasks.Parallel" /> 循环的完成状态。</summary>
416 <member name="P:System.Threading.Tasks.ParallelLoopResult.IsCompleted">
417 <summary>获取该循环是否已运行完成(即,该循环的所有迭代均已执行,并且该循环没有收到提前结束的请求)。</summary>
418 <returns>如果该循环已运行完成,则为 true;否则为 false。</returns>
420 <member name="P:System.Threading.Tasks.ParallelLoopResult.LowestBreakIteration">
421 <summary>获取从中调用 <see cref="M:System.Threading.Tasks.ParallelLoopState.Break" /> 的最低迭代的索引。</summary>
422 <returns>返回一个表示从中调用 Break 语句的最低迭代的整数。</returns>
424 <member name="T:System.Threading.Tasks.ParallelLoopState">
425 <summary>可使并行循环迭代与其他迭代交互。此类的实例由 <see cref="T:System.Threading.Tasks.Parallel" /> 类提供给每个循环;不能在您的用户代码中创建实例。</summary>
427 <member name="M:System.Threading.Tasks.ParallelLoopState.Break">
428 <summary>告知 <see cref="T:System.Threading.Tasks.Parallel" /> 循环应在系统方便的时候尽早停止执行当前迭代之外的迭代。</summary>
429 <exception cref="T:System.InvalidOperationException">
430 <see cref="M:System.Threading.Tasks.ParallelLoopState.Stop" /> 方法以前被调用过。<see cref="M:System.Threading.Tasks.ParallelLoopState.Break" /> 和 <see cref="M:System.Threading.Tasks.ParallelLoopState.Stop" /> 不能被相同循环的迭代组合使用。</exception>
432 <member name="P:System.Threading.Tasks.ParallelLoopState.IsExceptional">
433 <summary>获取循环的任何迭代是否已引发相应迭代未处理的异常。</summary>
434 <returns>如果引发了未经处理的异常,则为 true;否则为 false。 </returns>
436 <member name="P:System.Threading.Tasks.ParallelLoopState.IsStopped">
437 <summary>获取循环的任何迭代是否已调用 <see cref="M:System.Threading.Tasks.ParallelLoopState.Stop" /> 方法。</summary>
438 <returns>如果任何迭代通过调用 <see cref="M:System.Threading.Tasks.ParallelLoopState.Stop" /> 方法已停止循环,则为 true;否则为 false。</returns>
440 <member name="P:System.Threading.Tasks.ParallelLoopState.LowestBreakIteration">
441 <summary>获取从中调用 <see cref="M:System.Threading.Tasks.ParallelLoopState.Break" /> 的最低循环迭代。</summary>
442 <returns>从中调用 <see cref="M:System.Threading.Tasks.ParallelLoopState.Break" /> 的最低迭代。如果是 <see cref="M:System.Threading.Tasks.Parallel.ForEach``1(System.Collections.Concurrent.Partitioner{``0},System.Action{``0})" /> 循环,该值会基于内部生成的索引。</returns>
444 <member name="P:System.Threading.Tasks.ParallelLoopState.ShouldExitCurrentIteration">
445 <summary>获取循环的当前迭代是否应基于此迭代或其他迭代发出的请求退出。</summary>
446 <returns>如果当前迭代应退出,则为 true;否则为 false。</returns>
448 <member name="M:System.Threading.Tasks.ParallelLoopState.Stop">
449 <summary>告知 <see cref="T:System.Threading.Tasks.Parallel" /> 循环应在系统方便的时候尽早停止执行。</summary>
450 <exception cref="T:System.InvalidOperationException">
451 <see cref="M:System.Threading.Tasks.ParallelLoopState.Break" /> 以前调用了方法。<see cref="M:System.Threading.Tasks.ParallelLoopState.Break" /> 和 <see cref="M:System.Threading.Tasks.ParallelLoopState.Stop" /> 不能被相同循环的迭代组合使用。</exception>
453 <member name="T:System.Threading.Tasks.ParallelOptions">
454 <summary>存储用于配置 <see cref="T:System.Threading.Tasks.Parallel" /> 类的方法的操作的选项。</summary>
456 <member name="M:System.Threading.Tasks.ParallelOptions.#ctor">
457 <summary>初始化 <see cref="T:System.Threading.Tasks.ParallelOptions" /> 类的新实例。</summary>
459 <member name="P:System.Threading.Tasks.ParallelOptions.CancellationToken">
460 <summary>获取或设置与此 <see cref="T:System.Threading.Tasks.ParallelOptions" /> 实例关联的 <see cref="T:System.Threading.CancellationToken" />。</summary>
461 <returns>与此实例关联的标记。</returns>
463 <member name="P:System.Threading.Tasks.ParallelOptions.MaxDegreeOfParallelism">
464 <summary>获取或设置此 <see cref="T:System.Threading.Tasks.ParallelOptions" /> 实例所允许的并发任务的最大数目。</summary>
465 <returns>一个表示最大并行度的整数。</returns>
466 <exception cref="T:System.ArgumentOutOfRangeException">该属性被设置为 0 或小于 1- 的值。</exception>
468 <member name="P:System.Threading.Tasks.ParallelOptions.TaskScheduler">
469 <summary>获取或设置与此 <see cref="T:System.Threading.Tasks.ParallelOptions" /> 实例关联的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。将此属性设置为 null,以指示应使用当前计划程序。</summary>
470 <returns>与此实例关联的任务计划程序。</returns>