ParallelEnumerable.AsParallel Method

.NET Framework (current version)
 

Enables parallelization of a query.

Namespace:   System.Linq
Assembly:  System.Core (in System.Core.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAsParallel(IEnumerable)

Enables parallelization of a query.

System_CAPS_pubmethodSystem_CAPS_staticAsParallel<TSource>(IEnumerable<TSource>)

Enables parallelization of a query.

System_CAPS_pubmethodSystem_CAPS_staticAsParallel<TSource>(Partitioner<TSource>)

Enables parallelization of a query, as sourced by a custom partitioner that is responsible for splitting the input sequence into partitions.

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

Return to top
Show: