This documentation is archived and is not being maintained.

ParallelEnumerable.AsParallel Method

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member AsParallel<TSource>(IEnumerable<TSource>) Enables parallelization of a query.
Public method Static member AsParallel(IEnumerable) Enables parallelization of a query.
Public method Static member AsParallel<TSource>(Partitioner<TSource>) Enables parallelization of a query, as sourced by a custom partitioner that is responsible for splitting the input sequence into partitions.
Top

This method binds the query to PLINQ. For more information, see Parallel LINQ (PLINQ).

Show: