PushNotificationManager.Unregister Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Unregisters the app from receiving PushReceived events for incoming push notifications.
Note
The PushNotificationManager class has a dependency on the Singleton package. Because of that dependency, there are certain considerations to be aware of if you're calling these APIs from a self-contained app. For more info, and specifics, see Dependencies on additional MSIX packages.
public:
virtual void Unregister() = Unregister;
void Unregister();
public void Unregister();
function unregister()
Public Sub Unregister ()
Remarks
After calling Unregister, a new process will be launched to handle subsequent notifications.
Register to receive PushReceived events by calling Register.