Share via


ToastNotificationManagerForUser.GetHistoryForToastCollectionIdAsync Method

Definition

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

public:
 virtual IAsyncOperation<ToastNotificationHistory ^> ^ GetHistoryForToastCollectionIdAsync(Platform::String ^ collectionId) = GetHistoryForToastCollectionIdAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ToastNotificationHistory> GetHistoryForToastCollectionIdAsync(winrt::hstring const& collectionId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ToastNotificationHistory> GetHistoryForToastCollectionIdAsync(string collectionId);
function getHistoryForToastCollectionIdAsync(collectionId)
Public Function GetHistoryForToastCollectionIdAsync (collectionId As String) As IAsyncOperation(Of ToastNotificationHistory)

Parameters

collectionId
String

Platform::String

winrt::hstring

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

Returns

An object that represents the asynchronous operation.

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to