PushNotificationChannel.Close 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.
Explicitly invalidates this channel. Any notifications pushed to this channel after this method is called are not delivered.
public:
virtual void Close() = Close;
void Close();
public void Close();
function close()
Public Sub Close ()
Windows requirements
App capabilities |
internetClient
|
Remarks
After it has been closed, the channel can never be used again. Channels that are closed through this method are no different than channels that have expired. To resume sending push notifications to this app, the app must request a new channel.
Calling Close on a channel invalidates the underlying URI as well as any non-expired, non-closed URIs previously created for the app.