ConcurrentExclusiveSchedulerPair Constructor (TaskScheduler, Int32, Int32)

ConcurrentExclusiveSchedulerPair Constructor (TaskScheduler, Int32, Int32)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the ConcurrentExclusiveSchedulerPair class that targets the specified scheduler with a maximum concurrency level and a maximum number of scheduled tasks that may be processed as a unit.

Namespace:  System.Threading.Tasks
Assembly:  mscorlib (in mscorlib.dll)

public ConcurrentExclusiveSchedulerPair(
	TaskScheduler taskScheduler,
	int maxConcurrencyLevel,
	int maxItemsPerTask
)

Parameters

taskScheduler
Type: System.Threading.Tasks.TaskScheduler
The target scheduler on which this pair should execute.
maxConcurrencyLevel
Type: System.Int32
The maximum number of tasks to run concurrently.
maxItemsPerTask
Type: System.Int32
The maximum number of tasks to process for each underlying scheduled task used by the pair.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft