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)

Syntax

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

Members

Member name Description
Connected The Push Client and the Microsoft Push Notification Service are connected.
Disconnected The Push Client and the Microsoft Push Notification Service are disconnected.

Remarks

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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

Microsoft.Phone.Notification Namespace