ConcurrentExclusiveSchedulerPair Constructor (TaskScheduler^, Int32)

.NET Framework (current version)
 

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)

public:
ConcurrentExclusiveSchedulerPair(
	TaskScheduler^ taskScheduler,
	int maxConcurrencyLevel
)

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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show: