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 (Int64, Int64)

.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<long, long>> Create(
	long fromInclusive,
	long toExclusive
)

Parameters

fromInclusive
Type: System.Int64

The lower, inclusive bound of the range.

toExclusive
Type: System.Int64

The upper, exclusive bound of the range.

ExceptionCondition
ArgumentOutOfRangeException

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

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
Show:
© 2015 Microsoft