ChannelConnectionStatus Enumeration

ChannelConnectionStatus Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Identifies the current connectivity status between the Push Client and the Microsoft Push Notification Service.

Namespace:  Microsoft.Phone.Notification
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public enum ChannelConnectionStatus
<object property="enumerationValue" .../>

Member nameDescription
ConnectedThe Push Client and the Microsoft Push Notification Service are connected.
DisconnectedThe Push Client and the Microsoft Push Notification Service are disconnected.

For MPNS response codes and error messages, see Push Notification Service response codes for Windows Phone 8.

Capabilities

If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.

ID_CAP_PUSH_NOTIFICATION

Windows Phone 8, Windows Phone OS 7.1

For more info, see App capabilities and hardware requirements for Windows Phone 8.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft