Dela via


BadgeUpdater.StartPeriodicUpdate Method

Definition

Overloads

StartPeriodicUpdate(Uri, PeriodicUpdateRecurrence)

Begins a series of timed updates for the badge from a web resource that the updater is bound to, beginning immediately. Note that only web resources (http/https) are allowed in a periodic update.

StartPeriodicUpdate(Uri, DateTime, PeriodicUpdateRecurrence)

Begins a series of timed updates for the badge from a web resource that the updater is bound to. Updates begin at a specified time. Note that only web resources (http/https) are allowed in a periodic update.

StartPeriodicUpdate(Uri, PeriodicUpdateRecurrence)

Begins a series of timed updates for the badge from a web resource that the updater is bound to, beginning immediately. Note that only web resources (http/https) are allowed in a periodic update.

public:
 virtual void StartPeriodicUpdate(Uri ^ badgeContent, PeriodicUpdateRecurrence requestedInterval) = StartPeriodicUpdate;
/// [Windows.Foundation.Metadata.Overload("StartPeriodicUpdate")]
void StartPeriodicUpdate(Uri const& badgeContent, PeriodicUpdateRecurrence const& requestedInterval);
[Windows.Foundation.Metadata.Overload("StartPeriodicUpdate")]
public void StartPeriodicUpdate(System.Uri badgeContent, PeriodicUpdateRecurrence requestedInterval);
function startPeriodicUpdate(badgeContent, requestedInterval)
Public Sub StartPeriodicUpdate (badgeContent As Uri, requestedInterval As PeriodicUpdateRecurrence)

Parameters

badgeContent
Uri Uri

The Uniform Resource Identifier (URI) from which the XML content of the badge update will be retrieved.

requestedInterval
PeriodicUpdateRecurrence

The frequency with which the Uniform Resource Identifier (URI) is polled for new badge content.

Attributes

See also

Applies to

StartPeriodicUpdate(Uri, DateTime, PeriodicUpdateRecurrence)

Begins a series of timed updates for the badge from a web resource that the updater is bound to. Updates begin at a specified time. Note that only web resources (http/https) are allowed in a periodic update.

public:
 virtual void StartPeriodicUpdate(Uri ^ badgeContent, DateTime startTime, PeriodicUpdateRecurrence requestedInterval) = StartPeriodicUpdate;
/// [Windows.Foundation.Metadata.Overload("StartPeriodicUpdateAtTime")]
void StartPeriodicUpdate(Uri const& badgeContent, DateTime const& startTime, PeriodicUpdateRecurrence const& requestedInterval);
[Windows.Foundation.Metadata.Overload("StartPeriodicUpdateAtTime")]
public void StartPeriodicUpdate(System.Uri badgeContent, System.DateTimeOffset startTime, PeriodicUpdateRecurrence requestedInterval);
function startPeriodicUpdate(badgeContent, startTime, requestedInterval)
Public Sub StartPeriodicUpdate (badgeContent As Uri, startTime As DateTimeOffset, requestedInterval As PeriodicUpdateRecurrence)

Parameters

badgeContent
Uri Uri

The Uniform Resource Identifier (URI) from which the XML content of the badge update will be retrieved.

startTime
DateTime DateTimeOffset

The time at which the Uniform Resource Identifier (URI) should first be polled for new badge content.

requestedInterval
PeriodicUpdateRecurrence

The frequency with which the Uniform Resource Identifier (URI) is polled for new badge content, following the initial update at startTime.

Attributes

See also

Applies to