Partitioner Class

Task Parallel System.Threading

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

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

Syntax

Visual Basic (Declaration)
<HostProtectionAttribute(SecurityAction.LinkDemand, Synchronization := True,  _
	ExternalThreading := True)> _
Public NotInheritable Class Partitioner
C#
[HostProtectionAttribute(SecurityAction.LinkDemand, Synchronization = true, 
	ExternalThreading = true)]
public static class Partitioner

Remarks

The static methods on Partitioner are all thread-safe and may be used concurrently from multiple threads. However, while a created partitioner is in use, the underlying data source should not be modified, whether from the same thread that's using a partitioner or from a separate thread.

Inheritance Hierarchy

System..::.Object
  System.Collections.Concurrent..::.Partitioner

See Also