ToastNotificationManagerForUser.GetHistoryForToastCollectionIdAsync(String) ToastNotificationManagerForUser.GetHistoryForToastCollectionIdAsync(String) ToastNotificationManagerForUser.GetHistoryForToastCollectionIdAsync(String) ToastNotificationManagerForUser.GetHistoryForToastCollectionIdAsync(String) ToastNotificationManagerForUser.GetHistoryForToastCollectionIdAsync(String) Method

Definition

Starts the retrieval of notification history for the specified notification group.

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

Parameters

collectionId
String String String

The ID of the notification group whose history you want to retrieve.

Returns

Additional features and requirements

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