Partitioner.Create Method (Int64, Int64, Int64)

.NET Framework 4.6 and 4.5

Creates a partitioner that chunks the user-specified range.

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

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


Type: System.Int64

The lower, inclusive bound of the range.

Type: System.Int64

The upper, exclusive bound of the range.

Type: System.Int64

The size of each subrange.

Exception Condition

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.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft