ConcurrentExclusiveSchedulerPair Constructor (TaskScheduler, Int32)

ConcurrentExclusiveSchedulerPair Constructor (TaskScheduler, 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.

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

'Declaration
Public Sub New ( _
	taskScheduler As TaskScheduler, _
	maxConcurrencyLevel As Integer _
)

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.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft