Export (0) Print
Expand All

ParallelEnumerable.AsParallel Method

Enables parallelization of a query.

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

  Name Description
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:
© 2014 Microsoft