BackgroundTaskStatus Enum

Definition

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.

Applies to