PushNotificationChannelManagerForUser.CreatePushNotificationChannelForSecondaryTileAsync 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.
Creates an object, bound to a secondary tile, through which you retrieve a push notification channel from Windows Push Notification Services (WNS). The tile can be a secondary tile of the calling app or any other app in the same package.
public:
virtual IAsyncOperation<PushNotificationChannel ^> ^ CreatePushNotificationChannelForSecondaryTileAsync(Platform::String ^ tileId) = CreatePushNotificationChannelForSecondaryTileAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<PushNotificationChannel> CreatePushNotificationChannelForSecondaryTileAsync(winrt::hstring const& tileId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<PushNotificationChannel> CreatePushNotificationChannelForSecondaryTileAsync(string tileId);
function createPushNotificationChannelForSecondaryTileAsync(tileId)
Public Function CreatePushNotificationChannelForSecondaryTileAsync (tileId As String) As IAsyncOperation(Of PushNotificationChannel)
Parameters
- tileId
-
String
Platform::String
winrt::hstring
The ID of the secondary tile to bind to the push notification channel.
Returns
The object, bound to the secondary tile, that is used to request a PushNotificationChannel from the Windows Push Notification Services (WNS).
- Attributes
Remarks
Note
Channels bound to secondary tiles only accept push notifications for Tile and Badge update types.