Share via


TileUpdateManager.CreateTileUpdaterForApplication Method

Definition

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

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

Applies to