Dela via


PeriodicUpdateRecurrence Enum

Definition

Specifies the time period for subsequent polls of the tile or badge data source for new content. Used by BadgeUpdater.StartPeriodicUpdate, TileUpdater.StartPeriodicUpdate, and TileUpdater.StartPeriodicUpdateBatch.

public enum class PeriodicUpdateRecurrence
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class PeriodicUpdateRecurrence
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum PeriodicUpdateRecurrence
var value = Windows.UI.Notifications.PeriodicUpdateRecurrence.halfHour
Public Enum PeriodicUpdateRecurrence
Inheritance
PeriodicUpdateRecurrence
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
HalfHour 0

Poll every half an hour.

Hour 1

Poll every hour.

SixHours 2

Poll every 6 hours.

TwelveHours 3

Poll every 12 hours.

Daily 4

Poll once a day.

Remarks

Windows can delay the polling of your URL by up to 15 minutes if necessary to optimize power and performance.

Applies to

See also