Freigeben über


AccessoryManager.DisableNotificationsForApplication(String) Methode

Definition

Deaktivieren Sie das Abrufen von Popup- und App-Deinstallationsbenachrichtigungen aus der angegebenen App.

public:
 static void DisableNotificationsForApplication(Platform::String ^ appId);
 static void DisableNotificationsForApplication(winrt::hstring const& appId);
public static void DisableNotificationsForApplication(string appId);
function disableNotificationsForApplication(appId)
Public Shared Sub DisableNotificationsForApplication (appId As String)

Parameter

appId
String

Platform::String

winrt::hstring

Der Bezeichner der App.

Windows-Anforderungen

App-Funktionen
accessoryManager

Hinweise

Für das Aufrufen dieser API müssen die ID_CAP_SMS - und ID_CAP_SMS_COMPANION-Funktionen im Anwendungsmanifest angegeben werden.

Gilt für: