ToastNotificationHistory.Remove ToastNotificationHistory.Remove ToastNotificationHistory.Remove ToastNotificationHistory.Remove ToastNotificationHistory.Remove Method

Definition

Overloads

Remove(String) Remove(String) Remove(String) Remove(String) Remove(String)

Removes an individual toast, with the specified tag label, from action center.

Remove(String, String) Remove(String, String) Remove(String, String) Remove(String, String) Remove(String, String)

Removes a toast notification from the action using the notification's tag and group labels.

Remove(String, String, String) Remove(String, String, String) Remove(String, String, String) Remove(String, String, String) Remove(String, String, String)

Removes an individual toast notification from action center, identified by the combination of tag label, group label and app ID.

Remove(String) Remove(String) Remove(String) Remove(String) Remove(String)

Removes an individual toast, with the specified tag label, from action center.

public : void Remove(Platform::String tag)
void Remove(winrt::hstring tag) const;
public void Remove(String tag)
Public Sub Remove(tag As String)
toastNotificationHistory.remove(tag);

Parameters

tag
String String String

The tag label of the toast notification to be removed.

Remarks

You should use this overload to remove notifications when your app's toast notification categorization system was built using only tags.

See also

Remove(String, String) Remove(String, String) Remove(String, String) Remove(String, String) Remove(String, String)

Removes a toast notification from the action using the notification's tag and group labels.

public : void Remove(Platform::String tag, Platform::String group)
void Remove(winrt::hstring tag, winrt::hstring group) const;
public void Remove(String tag, String group)
Public Sub Remove(tag As String, group As String)
toastNotificationHistory.remove(tag, group);

Parameters

tag
String String String

The tag label of the toast notification to be removed.

group
String String String

The group label of the toast notification to be removed.

Remarks

You should use this overload to remove notifications when your app's toast notification categorization system was built using tags and groups.

See also

Remove(String, String, String) Remove(String, String, String) Remove(String, String, String) Remove(String, String, String) Remove(String, String, String)

Removes an individual toast notification from action center, identified by the combination of tag label, group label and app ID.

public : void Remove(Platform::String tag, Platform::String group, Platform::String applicationId)
void Remove(winrt::hstring tag, winrt::hstring group, winrt::hstring applicationId) const;
public void Remove(String tag, String group, String applicationId)
Public Sub Remove(tag As String, group As String, applicationId As String)
toastNotificationHistory.remove(tag, group, applicationId);

Parameters

tag
String String String

The tag label of the toast notification to be removed.

group
String String String

The group label of the toast notification to be removed.

applicationId
String String String

The app ID of the app that sent the specified toast notification. This app must be part of the same app package as the app making this remove request.

Remarks

You should use this overload to remove notifications for a specific app in your app package, as specified by the applicationId parameter. If your app only uses tags, you can pass in an empty string for the group parameter.

See also