ExclusiveScheduler Property
Collapse the table of content
Expand the table of content

ConcurrentExclusiveSchedulerPair.ExclusiveScheduler Property

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

Gets a TaskScheduler that can be used to schedule tasks to this pair that must run exclusively with regards to other tasks on this pair.

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

'Declaration
Public ReadOnly Property ExclusiveScheduler As TaskScheduler

Property Value

Type: System.Threading.Tasks.TaskScheduler
An object that can be used to schedule tasks that do not run concurrently with other tasks.

The following example shows the use of the ExclusiveScheduler property to run a writer. This code example is part of a larger example provided for the [27ece374-ed5b-49ef-9cec-b20db34a65e8] topic.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft