Επεξεργασία

Κοινή χρήση μέσω


ParallelOptions.TaskScheduler Property

Definition

Gets or sets the TaskScheduler associated with this ParallelOptions instance. Setting this property to null indicates that the current scheduler should be used.

public:
 property System::Threading::Tasks::TaskScheduler ^ TaskScheduler { System::Threading::Tasks::TaskScheduler ^ get(); void set(System::Threading::Tasks::TaskScheduler ^ value); };
public System.Threading.Tasks.TaskScheduler TaskScheduler { get; set; }
public System.Threading.Tasks.TaskScheduler? TaskScheduler { get; set; }
member this.TaskScheduler : System.Threading.Tasks.TaskScheduler with get, set
Public Property TaskScheduler As TaskScheduler

Property Value

The task scheduler that is associated with this instance.

Applies to