ToastNotificationHistory.Clear Method

Definition

Overloads

Clear()

Removes all notifications sent by this app from action center.

Clear(String)

Removes all notifications from action center that were sent by another app inside the same app package.

Clear()

Removes all notifications sent by this app from action center.

public:
 virtual void Clear() = Clear;
/// [Windows.Foundation.Metadata.Overload("Clear")]
void Clear();
[Windows.Foundation.Metadata.Overload("Clear")]
public void Clear();
function clear()
Public Sub Clear ()
Attributes

See also

Applies to

Clear(String)

Removes all notifications from action center that were sent by another app inside the same app package.

public:
 virtual void Clear(Platform::String ^ applicationId) = Clear;
/// [Windows.Foundation.Metadata.Overload("ClearWithId")]
void Clear(winrt::hstring const& applicationId);
[Windows.Foundation.Metadata.Overload("ClearWithId")]
public void Clear(string applicationId);
function clear(applicationId)
Public Sub Clear (applicationId As String)

Parameters

applicationId
String

Platform::String

winrt::hstring

The ID of the app inside the app package whose notifications are to be deleted.

Attributes

See also

Applies to