共用方式為


HttpNotificationChannel.ConnectionStatusChanged 事件

命名空間:  Microsoft.Phone.Notification
組件:  Microsoft.Phone (在 Microsoft.Phone.dll 中)

語法

'宣告
Public Event ConnectionStatusChanged As EventHandler(Of NotificationChannelConnectionEventArgs)
public event EventHandler<NotificationChannelConnectionEventArgs> ConnectionStatusChanged
public:
 event EventHandler<NotificationChannelConnectionEventArgs^>^ ConnectionStatusChanged {
    void add (EventHandler<NotificationChannelConnectionEventArgs^>^ value);
    void remove (EventHandler<NotificationChannelConnectionEventArgs^>^ value);
}
member ConnectionStatusChanged : IEvent<EventHandler<NotificationChannelConnectionEventArgs>,
    NotificationChannelConnectionEventArgs>

版本資訊

適用於 Windows Phone 應用程式的 .NET

支援版本:Windows Phone 8、Silverlight 8.1

.NET Framework 安全性

請參閱

參考

HttpNotificationChannel 類別

Microsoft.Phone.Notification 命名空間