The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Partitioner::Create Method (Int64, Int64, Int64)
.NET Framework (current version)
Creates a partitioner that chunks the user-specified range.
Assembly: mscorlib (in mscorlib.dll)
public: static OrderablePartitioner<Tuple<long long, long long>^>^ Create( long long fromInclusive, long long toExclusive, long long rangeSize )
Parameters
- fromInclusive
-
Type:
System::Int64
The lower, inclusive bound of the range.
- toExclusive
-
Type:
System::Int64
The upper, exclusive bound of the range.
- rangeSize
-
Type:
System::Int64
The size of each subrange.
Return Value
Type: System.Collections.Concurrent::OrderablePartitioner<Tuple<Int64, Int64>^>^A partitioner.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The toExclusive argument is less than or equal to the fromInclusive argument. -or- 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 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Show: