TaskFactory<TResult>.Scheduler Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the task scheduler for this task factory.
public:
property System::Threading::Tasks::TaskScheduler ^ Scheduler { System::Threading::Tasks::TaskScheduler ^ get(); };
public System.Threading.Tasks.TaskScheduler Scheduler { get; }
public System.Threading.Tasks.TaskScheduler? Scheduler { get; }
member this.Scheduler : System.Threading.Tasks.TaskScheduler
Public ReadOnly Property Scheduler As TaskScheduler
Property Value
The task scheduler for this task factory.
Remarks
This property returns the default scheduler for this factory. It will be used to schedule all tasks unless another scheduler is explicitly specified during calls to this factory's methods.
If this property returns null
, Current will be used.
Applies to
See also
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.