PushNotificationChannel PushNotificationChannel PushNotificationChannel PushNotificationChannel PushNotificationChannel Class


Represents a delivery vehicle and addressing mechanism for push notifications.

The channel Uniform Resource Identifier (URI)represented by this interface is used by a third-party application server to communicate with the Windows Push Notification Services (WNS). The push notification channel is used by the client to intercept notifications.

public : sealed class PushNotificationChannel
struct winrt::Windows::Networking::PushNotifications::PushNotificationChannel
public sealed class PushNotificationChannel
Public NotInheritable Class PushNotificationChannel
// This class does not provide a public constructor.

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


This object is returned through an instance of the IAsyncOperation interface which is returned through the CreatePushNotificationChannelForApplicationAsync method. When the asynchronous operation completes successfully, it returns the PushNotificationChannel object through a then or done method.


ExpirationTime ExpirationTime ExpirationTime ExpirationTime ExpirationTime

Gets the time at which the channel expires. Notifications sent to this channel after this time are rejected.

Uri Uri Uri Uri Uri

Gets the Uniform Resource Identifier (URI) to which an app server sends a push notification intended for an application or secondary tile bound to this channel. This Uniform Resource Identifier (URI) is transmitted to and stored by the third-party app server.


Close() Close() Close() Close() Close()

Explicitly invalidates this channel. Any notifications pushed to this channel after this method is called are not delivered.


PushNotificationReceived PushNotificationReceived PushNotificationReceived PushNotificationReceived PushNotificationReceived

Raised when a push notification arrives on this channel.

See also