ToastNotificationHistory.GetHistory Method

Definition

Overloads

GetHistory()

Gets notification history, for all notifications sent by this app, from action center.

GetHistory(String)

Gets notification history, for a toast with the specified tag label, from action center.

GetHistory()

Gets notification history, for all notifications sent by this app, from action center.

public:
 virtual IVectorView<ToastNotification ^> ^ GetHistory() = GetHistory;
/// [Windows.Foundation.Metadata.Overload("GetHistory")]
IVectorView<ToastNotification> GetHistory();
[Windows.Foundation.Metadata.Overload("GetHistory")]
public IReadOnlyList<ToastNotification> GetHistory();
function getHistory()
Public Function GetHistory () As IReadOnlyList(Of ToastNotification)

Returns

A collection of toasts.

Attributes

See also

Applies to

GetHistory(String)

Gets notification history, for a toast with the specified tag label, from action center.

public:
 virtual IVectorView<ToastNotification ^> ^ GetHistory(Platform::String ^ applicationId) = GetHistory;
/// [Windows.Foundation.Metadata.Overload("GetHistoryWithId")]
IVectorView<ToastNotification> GetHistory(winrt::hstring const& applicationId);
[Windows.Foundation.Metadata.Overload("GetHistoryWithId")]
public IReadOnlyList<ToastNotification> GetHistory(string applicationId);
function getHistory(applicationId)
Public Function GetHistory (applicationId As String) As IReadOnlyList(Of ToastNotification)

Parameters

applicationId
String

Platform::String

winrt::hstring

The tag label for the toast being queried-for.

Returns

A collection of toasts.

Attributes

See also

Applies to