BackgroundTaskStatus 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.
Represents the status of a background task managed by the BackgroundAgentsProvider.
public enum BackgroundTaskStatus
type BackgroundTaskStatus =
Public Enum BackgroundTaskStatus
- Inheritance
-
BackgroundTaskStatus
Fields
| Name | Value | Description |
|---|---|---|
| Running | 0 | The background task is currently running. |
| Completed | 1 | The background task completed successfully. |
| Failed | 2 | The background task failed with an error. |
| Lost | 3 | The background task's in-flight reference was lost (e.g., after a restart), and its final state cannot be determined. |