TaskFactory.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 default 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 default task scheduler for this task factory.
Remarks
The property value is used to schedule all tasks, unless another scheduler is explicitly specified during calls to this factory's methods.
If this property value is null
, the value of the Current property is used.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.