System.Threading.Tasks.Parallel
提供对并行循环和区域的支持。
执行 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代。
包含有关已完成的循环部分的信息的结构。
开始索引(含)。
结束索引(不含)。
将为每个迭代调用一次的委托。
The argument is null.
The exception that contains all the individual exceptions thrown on all threads.
执行 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
开始索引(含)。
结束索引(不含)。
将为每个迭代调用一次的委托。
The argument is null.
The exception that contains all the individual exceptions thrown on all threads.
执行具有线程本地数据的 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
开始索引(含)。
结束索引(不含)。
用于返回每个任务的本地数据的初始状态的函数委托。
将为每个迭代调用一次的委托。
用于对每个任务的本地状态执行一个最终操作的委托。
线程本地数据的类型。
The argument is null.-or-The argument is null.-or-The argument is null.
The exception that contains all the individual exceptions thrown on all threads.
执行 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以配置循环选项。
包含有关已完成的循环部分的信息的结构。
开始索引(含)。
结束索引(不含)。
一个对象,用于配置此操作的行为。
将为每个迭代调用一次的委托。
The in the argument is canceled.
The argument is null.-or-The argument is null.
The exception that contains all the individual exceptions thrown on all threads.
The associated with the in the has been disposed.
执行 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
开始索引(含)。
结束索引(不含)。
一个对象,用于配置此操作的行为。
将为每个迭代调用一次的委托。
The in the argument is canceled.
The argument is null.-or-The argument is null.
The exception that contains all the individual exceptions thrown on all threads.
The associated with the in the has been disposed.
执行具有线程本地数据的 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
开始索引(含)。
结束索引(不含)。
一个对象,用于配置此操作的行为。
用于返回每个任务的本地数据的初始状态的函数委托。
将为每个迭代调用一次的委托。
用于对每个任务的本地状态执行一个最终操作的委托。
线程本地数据的类型。
The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null.
The in the argument is canceled.
The associated with the in the has been disposed.
The exception that contains all the individual exceptions thrown on all threads.
执行具有 64 位索引的 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代。
包含有关已完成的循环部分的信息的结构。
开始索引(含)。
结束索引(不含)。
将为每个迭代调用一次的委托。
The argument is null.
The exception that contains all the individual exceptions thrown on all threads.
执行具有 64 位索引的 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以监视和操作循环的状态。
一个 结构,其中包含有关已完成的循环部分的信息。
开始索引(含)。
结束索引(不含)。
将为每个迭代调用一次的委托。
The argument is null.
The exception that contains all the individual exceptions thrown on all threads.
执行具有 64 位索引和线程本地数据的 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
开始索引(含)。
结束索引(不含)。
用于返回每个任务的本地数据的初始状态的函数委托。
将为每个迭代调用一次的委托。
用于对每个任务的本地状态执行一个最终操作的委托。
线程本地数据的类型。
The argument is null.-or-The argument is null.-or-The argument is null.
The exception that contains all the individual exceptions thrown on all threads.
执行具有 64 位索引的 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以配置循环选项。
包含有关已完成的循环部分的信息的结构。
开始索引(含)。
结束索引(不含)。
一个对象,用于配置此操作的行为。
将为每个迭代调用一次的委托。
The in the argument is canceled.
The argument is null.-or-The argument is null.
The exception that contains all the individual exceptions thrown on all threads.
The associated with the in the has been disposed.
执行具有 64 位索引的 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
开始索引(含)。
结束索引(不含)。
一个对象,用于配置此操作的行为。
将为每个迭代调用一次的委托。
The in the argument is canceled.
The argument is null.-or-The argument is null.
The exception that contains all the individual exceptions thrown on all threads.
The associated with the in the has been disposed.
执行具有 64 位索引和线程本地数据的 for(在 Visual Basic 中为 For)循环,其中可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
开始索引(含)。
结束索引(不含)。
一个对象,用于配置此操作的行为。
用于返回每个线程的本地数据的初始状态的函数委托。
将为每个迭代调用一次的委托。
用于对每个线程的本地状态执行一个最终操作的委托。
线程本地数据的类型。
The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null.
The in the argument is canceled.
The associated with the in the has been disposed.
The exception that contains all the individual exceptions thrown on all threads.
执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 中可能会并行运行迭代,而且可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
包含原始数据源的可排序分区程序。
将为每个迭代调用一次的委托。
中的元素的类型。
The argument is null.-or-The argument is null.
The property in the orderable partitioner returns false.-or-The property in the source orderable partitioner returns false.-or-Any methods in the source orderable partitioner return null.
执行具有线程本地数据的 foreach(在 Visual Basic 中为 For Each)操作,其中在 上可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
包含原始数据源的可排序分区程序。
用于返回每个任务的本地数据的初始状态的函数委托。
将为每个迭代调用一次的委托。
用于对每个任务的本地状态执行一个最终操作的委托。
中的元素的类型。
线程本地数据的类型。
The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null.
The property in the returns false or the partitioner returns null partitions.
The exception that contains all the individual exceptions thrown on all threads.
执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 中可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
包含原始数据源的可排序分区程序。
一个对象,用于配置此操作的行为。
将为每个迭代调用一次的委托。
中的元素的类型。
The in the argument is canceled
The argument is null.-or-The argument is null.-or-The argument is null.
The associated with the in the has been disposed.
The property in the orderable partitioner returns false.-or-The property in the orderable partitioner returns false.-or-The exception that is thrown when any methods in the orderable partitioner return null.
执行具有 64 位索引和线程本地数据的 foreach(在 Visual Basic 中为 For Each)操作,其中在 上可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
包含原始数据源的可排序分区程序。
一个对象,用于配置此操作的行为。
用于返回每个任务的本地数据的初始状态的函数委托。
将为每个迭代调用一次的委托。
用于对每个任务的本地状态执行一个最终操作的委托。
中的元素的类型。
线程本地数据的类型。
The argument is null.-or-The argument is null.-or-The argument is null.-or-The or argument is null.
The property in the returns false or the partitioner returns null partitions.
The exception that contains all the individual exceptions thrown on all threads.
The in the argument is canceled.
The associated with the in the has been disposed.
执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 上可能会并行运行迭代。
包含有关已完成的循环部分的信息的结构。
包含原始数据源的分区程序。
将为每个迭代调用一次的委托。
中的元素的类型。
The argument is null.-or-The argument is null.
The property in the partitioner returns false.-or-The exception that is thrown when any methods in the partitioner return null.-or-The method in the partitioner does not return the correct number of partitions.
执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 中可能会并行运行迭代,而且可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
包含原始数据源的分区程序。
将为每个迭代调用一次的委托。
中的元素的类型。
The argument is null.-or-The argument is null.
The property in the partitioner returns false.-or-A method in the partitioner returns null.-or-The method in the partitioner does not return the correct number of partitions.
执行具有线程本地数据的 foreach(在 Visual Basic 中为 For Each)操作,其中在 上可能会并行运行迭代,而且可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
包含原始数据源的分区程序。
用于返回每个任务的本地数据的初始状态的函数委托。
将为每个迭代调用一次的委托。
用于对每个任务的本地状态执行一个最终操作的委托。
中的元素的类型。
线程本地数据的类型。
The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null.
The property in the returns false or the partitioner returns null partitions.
The exception that contains all the individual exceptions thrown on all threads.
执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 中可能会并行运行迭代,而且可以配置循环选项。
包含有关已完成的循环部分的信息的结构。
包含原始数据源的分区程序。
一个对象,用于配置此操作的行为。
将为每个迭代调用一次的委托。
中的元素的类型。
The in the argument is canceled.
The associated with the in the has been disposed.
The argument is null.-or-The argument is null.-or-The argument is null.
The property in the partitioner returns false.-or-The exception that is thrown when any methods in the partitioner return null.
执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 中可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
包含原始数据源的分区程序。
一个对象,用于配置此操作的行为。
将为每个迭代调用一次的委托。
中的元素的类型。
The in the argument is canceled.
The associated with the in the has been disposed.
The argument is null.-or-The argument is null.-or-The argument is null.
The property in the partitioner returns false.-or-The exception that is thrown when any methods in the partitioner return null.
执行具有线程本地数据的 foreach(在 Visual Basic 中为 For Each)操作,其中在 上可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
包含原始数据源的分区程序。
一个对象,用于配置此操作的行为。
用于返回每个任务的本地数据的初始状态的函数委托。
将为每个迭代调用一次的委托。
用于对每个任务的本地状态执行一个最终操作的委托。
中的元素的类型。
线程本地数据的类型。
The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null.
The property in the returns false or the partitioner returns null partitions.
The exception that contains all the individual exceptions thrown on all threads.
The in the argument is canceled.
The associated with the in the has been disposed.
执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 上可能会并行运行迭代。
包含有关已完成的循环部分的信息的结构。
可枚举的数据源。
将为每个迭代调用一次的委托。
源中数据的类型。
The argument is null.-or-The argument is null.
The exception that contains all the individual exceptions thrown on all threads.
执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 中可能会并行运行迭代,而且可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
可枚举的数据源。
将为每个迭代调用一次的委托。
源中数据的类型。
The argument is null.-or-The argument is null.
The exception that contains all the individual exceptions thrown on all threads.
执行具有 64 位索引的 foreach(在 Visual Basic 中为 For Each)操作,其中在 上可能会并行运行迭代,而且可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
可枚举的数据源。
将为每个迭代调用一次的委托。
源中数据的类型。
The argument is null.-or-The argument is null.
The exception that contains all the individual exceptions thrown on all threads.
执行具有线程本地数据的 foreach(在 Visual Basic 中为 For Each)操作,其中在 上可能会并行运行迭代,而且可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
可枚举的数据源。
用于返回每个任务的本地数据的初始状态的函数委托。
将为每个迭代调用一次的委托。
用于对每个任务的本地状态执行一个最终操作的委托。
源中数据的类型。
线程本地数据的类型。
The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null.
The exception that contains all the individual exceptions thrown on all threads.
执行具有线程本地数据的 foreach(在 Visual Basic 中为 For Each)操作,其中在 上可能会并行运行迭代,而且可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
可枚举的数据源。
用于返回每个任务的本地数据的初始状态的函数委托。
将为每个迭代调用一次的委托。
用于对每个任务的本地状态执行一个最终操作的委托。
源中数据的类型。
线程本地数据的类型。
The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null.
The exception that contains all the individual exceptions thrown on all threads.
执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 中可能会并行运行迭代,而且可以匹配配置循环选项。
包含有关已完成的循环部分的信息的结构。
可枚举的数据源。
一个对象,用于配置此操作的行为。
将为每个迭代调用一次的委托。
源中数据的类型。
The in the argument is canceled
The argument is null.-or-The argument is null.-or-The argument is null.
The exception that contains all the individual exceptions thrown on all threads.
The associated with the in the has been disposed.
执行 foreach(在 Visual Basic 中为 For Each)操作,其中在 中可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
可枚举的数据源。
一个对象,用于配置此操作的行为。
将为每个迭代调用一次的委托。
源中数据的类型。
The in the argument is canceled
The argument is null.-or-The argument is null.-or-The argument is null.
The exception that contains all the individual exceptions thrown on all threads.
The associated with the in the has been disposed.
执行具有 64 位索引的 foreach(在 Visual Basic 中为 For Each)操作,其中在 上可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
可枚举的数据源。
一个对象,用于配置此操作的行为。
将为每个迭代调用一次的委托。
源中数据的类型。
The in the argument is canceled
The argument is null.-or-The argument is null.-or-The argument is null.
The exception that contains all the individual exceptions thrown on all threads.
The associated with the in the has been disposed.
执行具有线程本地数据的 foreach(在 Visual Basic 中为 For Each)操作,其中在 上可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
可枚举的数据源。
一个对象,用于配置此操作的行为。
用于返回每个任务的本地数据的初始状态的函数委托。
将为每个迭代调用一次的委托。
用于对每个任务的本地状态执行一个最终操作的委托。
源中数据的类型。
线程本地数据的类型。
The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null.
The in the argument is canceled.
The associated with the in the has been disposed.
The exception that contains all the individual exceptions thrown on all threads.
执行具有线程本地数据和 64 位索引的 foreach(在 Visual Basic 中为 For Each)操作,其中在 上可能会并行运行迭代,而且可以配置循环选项,可以监视和操作循环的状态。
包含有关已完成的循环部分的信息的结构。
可枚举的数据源。
一个对象,用于配置此操作的行为。
用于返回每个任务的本地数据的初始状态的函数委托。
将为每个迭代调用一次的委托。
用于对每个任务的本地状态执行一个最终操作的委托。
源中数据的类型。
线程本地数据的类型。
The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null.-or-The argument is null.
The in the argument is canceled.
The associated with the in the has been disposed.
The exception that contains all the individual exceptions thrown on all threads.
尽可能并行执行提供的每个操作。
要执行的 数组。
The argument is null.
The exception that is thrown when any action in the array throws an exception.
The array contains a null element.
执行所提供的每个操作,而且尽可能并行运行,除非用户取消了操作。
一个对象,用于配置此操作的行为。
要执行的操作数组。
The in the is set.
The argument is null.-or-The argument is null.
The exception that is thrown when any action in the array throws an exception.
The array contains a null element.
The associated with the in the has been disposed.
提供执行 循环的完成状态。
获取该循环是否已运行完成(即,该循环的所有迭代均已执行,并且该循环没有收到提前结束的请求)。
如果该循环已运行完成,则为 true;否则为 false。
获取从中调用 的最低迭代的索引。
返回一个表示从中调用 Break 语句的最低迭代的整数。
可使并行循环迭代与其他迭代交互。此类的实例由 类提供给每个循环;不能在您的用户代码中创建实例。
告知 循环应在系统方便的时候尽早停止执行当前迭代之外的迭代。
方法以前被调用过。 和 不能被相同循环的迭代组合使用。
获取循环的任何迭代是否已引发相应迭代未处理的异常。
如果引发了未经处理的异常,则为 true;否则为 false。
获取循环的任何迭代是否已调用 方法。
如果任何迭代通过调用 方法已停止循环,则为 true;否则为 false。
获取从中调用 的最低循环迭代。
从中调用 的最低迭代。如果是 循环,该值会基于内部生成的索引。
获取循环的当前迭代是否应基于此迭代或其他迭代发出的请求退出。
如果当前迭代应退出,则为 true;否则为 false。
告知 循环应在系统方便的时候尽早停止执行。
以前调用了方法。 和 不能被相同循环的迭代组合使用。
存储用于配置 类的方法的操作的选项。
初始化 类的新实例。
获取或设置与此 实例关联的 。
与此实例关联的标记。
获取或设置此 实例所允许的并发任务的最大数目。
一个表示最大并行度的整数。
该属性被设置为 0 或小于 1- 的值。
获取或设置与此 实例关联的 。将此属性设置为 null,以指示应使用当前计划程序。
与此实例关联的任务计划程序。