[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Closes a notification channel and disassociates all of the subscriptions associated with this instance of the HttpNotificationChannel class.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Public Sub Close
public void Close()
For information about InvalidOperationException exceptions raised by this method, see Setting up your app to receive push notifications for Windows Phone 8.
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0