Dela via


AutoUpdateTimeZoneStatus Enum

Definition

The status of the automatic time zone request.

public enum class AutoUpdateTimeZoneStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.System.SystemManagementContract, 327680)]
enum class AutoUpdateTimeZoneStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.System.SystemManagementContract), 327680)]
public enum AutoUpdateTimeZoneStatus
var value = Windows.System.AutoUpdateTimeZoneStatus.attempted
Public Enum AutoUpdateTimeZoneStatus
Inheritance
AutoUpdateTimeZoneStatus
Attributes

Windows requirements

Device family
Windows IoT Extension SDK (introduced in 10.0.17134.0)
API contract
Windows.System.SystemManagementContract (introduced in v5.0)

Fields

Name Value Description
Attempted 0

Time zone detection attempted. The time zone may still be incorrect. Confirm time zone selection with the user. You can alternatively include a way for the user to set the time zone at a later time.

TimedOut 1

Request timed out. Try again with a longer timeout or prompt the user to select a time zone selection. You can alternatively include a way for the user to set the time zone at a later time.

Failed 2

The time zone could not be detected due to lack of hardware support, or catastrophic failure. Avoid calling the AutoUpdateTimeZoneAsync method again. Prompt the user to select a time zone. You can alternatively include a way for the user to set the time zone at a later time.

Applies to

See also