TrainingIntervalSchedulingMode Enum
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.
Identifies whether a federated compute training task runs one time or again at intervals.
public enum TrainingIntervalSchedulingMode
type TrainingIntervalSchedulingMode =
- Inheritance
-
TrainingIntervalSchedulingMode
Fields
| Name | Value | Description |
|---|---|---|
| OneTime | 1 | The scheduling mode for a one-off task. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Recurrent | 2 | The scheduling mode for a task that will be rescheduled after each run. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
The values correspond to the SCHEDULING_MODE_ constants in Android's TrainingInterval. The SchedulingMode fields and the SchedulingMode property of TrainingInterval use this type. SetSchedulingMode(Int32) takes the value as an integer, and the default is one time. See the scheduling mode constants.