TileUpdateManager.CreateTileUpdaterForApplication Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateTileUpdaterForApplication() |
Creates and initializes a new instance of the TileUpdater, which lets you change the appearance of the calling app's tile. |
CreateTileUpdaterForApplication(String) |
Creates and initializes a new instance of the TileUpdater for a tile that belongs to another app in the same package as the calling app. The TileUpdater lets a developer change the appearance of that tile. |
CreateTileUpdaterForApplication()
Creates and initializes a new instance of the TileUpdater, which lets you change the appearance of the calling app's tile.
public:
static TileUpdater ^ CreateTileUpdaterForApplication();
/// [Windows.Foundation.Metadata.Overload("CreateTileUpdaterForApplication")]
static TileUpdater CreateTileUpdaterForApplication();
[Windows.Foundation.Metadata.Overload("CreateTileUpdaterForApplication")]
public static TileUpdater CreateTileUpdaterForApplication();
function createTileUpdaterForApplication()
Public Shared Function CreateTileUpdaterForApplication () As TileUpdater
Returns
The object you will use to send changes to the app's tile.
- Attributes
See also
- CreateTileUpdaterForApplication(String)
- App tiles and badges sample
- Quickstart: Sending a tile update
- Tile and tile notification overview
- The tile template catalog
- Guidelines and checklist for tiles
- How to schedule a tile notification
- How to set up periodic notifications for tiles
- Tiles XML schema
Applies to
CreateTileUpdaterForApplication(String)
Creates and initializes a new instance of the TileUpdater for a tile that belongs to another app in the same package as the calling app. The TileUpdater lets a developer change the appearance of that tile.
public:
static TileUpdater ^ CreateTileUpdaterForApplication(Platform::String ^ applicationId);
/// [Windows.Foundation.Metadata.Overload("CreateTileUpdaterForApplicationWithId")]
static TileUpdater CreateTileUpdaterForApplication(winrt::hstring const& applicationId);
[Windows.Foundation.Metadata.Overload("CreateTileUpdaterForApplicationWithId")]
public static TileUpdater CreateTileUpdaterForApplication(string applicationId);
function createTileUpdaterForApplication(applicationId)
Public Shared Function CreateTileUpdaterForApplication (applicationId As String) As TileUpdater
Parameters
- applicationId
-
String
Platform::String
winrt::hstring
The package-relative application identifier (PRAID) of the tile. The specified app must be in the same package as the calling app. For more info on the PRAID, see the Id attribute of the Application element.
If you are hosting background task(s) in an out-of-process COM server, separate from your main application, then pass as the argument for applicationId
the PRAID of the application that defines the windows.backgroundTask
extension in its own package manifest.
Returns
The object you will use to send changes to the tile identified by applicationId.
- Attributes
Remarks
This method is used only in conjunction with multi-app packages. The app identified by applicationId must belong to the same package as the caller.
Although you can specify the calling application's tile in this method, createTileUpdaterForApplication is the preferred method to use with single-app packages.
See also
- CreateTileUpdaterForApplication()
- App tiles and badges sample
- Quickstart: Sending a tile update
- Tile and tile notification overview
- The tile template catalog
- Guidelines and checklist for tiles
- How to schedule a tile notification
- How to set up periodic notifications for tiles
- Tiles XML schema