Export (0) Print
Expand All

Partitioner Class

Provides common partitioning strategies for arrays, lists, and enumerables.

System.Object
  System.Collections.Concurrent.Partitioner

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

[<AbstractClass>]
[<Sealed>]
[<HostProtectionAttribute(SecurityAction.LinkDemand, Synchronization = true, 
    ExternalThreading = true)>]
type Partitioner =  class end

  NameDescription
Public methodStatic memberSupported by Portable Class LibrarySupported in .NET for Windows Store appsCreate(Int32, Int32)Creates a partitioner that chunks the user-specified range.
Public methodStatic memberSupported by Portable Class LibrarySupported in .NET for Windows Store appsCreate(Int64, Int64)Creates a partitioner that chunks the user-specified range.
Public methodStatic memberSupported by Portable Class LibrarySupported in .NET for Windows Store appsCreate(Int32, Int32, Int32)Creates a partitioner that chunks the user-specified range.
Public methodStatic memberSupported by Portable Class LibrarySupported in .NET for Windows Store appsCreate(Int64, Int64, Int64)Creates a partitioner that chunks the user-specified range.
Public methodStatic memberSupported by Portable Class LibrarySupported in .NET for Windows Store appsCreate(TSource)(IEnumerable(TSource))Creates an orderable partitioner from a IEnumerable(T) instance.
Public methodStatic memberSupported by Portable Class LibrarySupported in .NET for Windows Store appsCreate(TSource)(TSource[], Boolean)Creates an orderable partitioner from a Array instance.
Public methodStatic memberSupported in .NET for Windows Store appsCreate(TSource)(IEnumerable(TSource), EnumerablePartitionerOptions)Creates an orderable partitioner from a IEnumerable(T) instance.
Public methodStatic memberSupported by Portable Class LibrarySupported in .NET for Windows Store appsCreate(TSource)(IList(TSource), Boolean)Creates an orderable partitioner from an IList(T) instance.
Top

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

NoteNote

The HostProtectionAttribute attribute applied to this type or member has the following Resources property value: Synchronization | ExternalThreading. The HostProtectionAttribute does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the HostProtectionAttribute class or SQL Server Programming and Host Protection Attributes.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library

.NET for Windows Store apps

Supported in: Windows 8

.NET for Windows Phone apps

Supported in: Windows Phone 8.1

Windows Phone 8.1, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft