ShellTileSchedule Class

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Creates an object that allows an application to schedule updates of its Tile's background image.

Inheritance Hierarchy

System..::.Object
  Microsoft.Phone.Shell..::.ShellTileSchedule

Namespace:  Microsoft.Phone.Shell
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Class ShellTileSchedule
public class ShellTileSchedule
<ShellTileSchedule .../>

The ShellTileSchedule type exposes the following members.

Constructors

  Name Description
ShellTileSchedule()()() Initializes a new instance of the ShellTileSchedule class.
ShellTileSchedule(ShellTile) Initializes a new instance of the ShellTileSchedule class for the specified ShellTile.
ShellTileSchedule(ShellTile, ShellTileData) Initializes a new instance of the ShellTileSchedule class for the specified ShellTile, using the specified tile template.

Top

Properties

  Name Description
Interval Gets or sets the interval of how often the background image of the Tile is updated.
MaxUpdateCount Gets or sets the number of times that the schedule will run. If this value is not set or is set to a number less than 1, then the schedule will run indefinitely.
Recurrence Gets or sets a value that indicates whether the schedule will be executed one time or multiple times. The recurrence values are defined in UpdateRecurrence.
RemoteImageUri Gets or sets a fully qualified remote URI or relative URI of the background image.
StartTime Gets or sets the start time of the schedule.

Top

Methods

  Name Description
Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
GetType Gets the Type of the current instance. (Inherited from Object.)
MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Start Starts the schedule.
Stop Cancels an existing Tile schedule.
ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

For more information about Tiles and Tile background images, see Tiles for Windows Phone 8. For an example of how to use ShellTileSchedule, see How to send a scheduled local Tile update for Windows Phone 8.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Phone.Shell Namespace