Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Partitioner.Create Method (Int32, Int32, Int32)

.NET Framework 4.6 and 4.5

Creates a partitioner that chunks the user-specified range.

Namespace:  System.Collections.Concurrent
Assemblies:   System.Collections.Concurrent (in System.Collections.Concurrent.dll)
  mscorlib (in mscorlib.dll)

public static OrderablePartitioner<Tuple<int, int>> Create(
	int fromInclusive,
	int toExclusive,
	int rangeSize


Type: System.Int32

The lower, inclusive bound of the range.

Type: System.Int32

The upper, exclusive bound of the range.

Type: System.Int32

The size of each subrange.


The toExclusive argument is less than or equal to the fromInclusive argument.


The rangeSize argument is less than or equal to 0.

For more information and examples, see Custom Partitioners for PLINQ and TPL.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1
© 2015 Microsoft