ToastNotificationManagerForUser.GetToastNotifierForToastCollectionIdAsync(String) ToastNotificationManagerForUser.GetToastNotifierForToastCollectionIdAsync(String) ToastNotificationManagerForUser.GetToastNotifierForToastCollectionIdAsync(String) ToastNotificationManagerForUser.GetToastNotifierForToastCollectionIdAsync(String) ToastNotificationManagerForUser.GetToastNotifierForToastCollectionIdAsync(String) Method

Definition

Creates a new ToastNotification for the bound user and app for the specified notification group.

public : IAsyncOperation<ToastNotifier> GetToastNotifierForToastCollectionIdAsync(Platform::String collectionId)
IAsyncOperation<ToastNotifier> GetToastNotifierForToastCollectionIdAsync(winrt::hstring collectionId) const;
public IAsyncOperation<ToastNotifier> GetToastNotifierForToastCollectionIdAsync(String collectionId)
Public Function GetToastNotifierForToastCollectionIdAsync(collectionId As String) As IAsyncOperation(Of ToastNotifier)
Windows.UI.Notifications.ToastNotificationManagerForUser.getToastNotifierForToastCollectionIdAsync(collectionId).done( /* Your success and error handlers */ );

Parameters

collectionId
String String String

The ID of the ToastNotificationCollection that represents the notification group you want to send.

Returns

The object you will use to send the toast notifications.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)