Microsoft.Windows.PushNotifications 命名空間

此命名空間提供 API 來管理使用 Windows 推播通知服務 (WNS) 的推播通知。

類別

PushNotificationChannel

表示推播通知通道。

PushNotificationCreateChannelResult

表示以 呼叫 CreateChannelAsync起始的推播通道建立要求結果。

PushNotificationManager

提供用來接收和註冊以接收推播通知的 API。

注意

PushNotificationManager類別相依于Singleton 套件。 由於該相依性,如果您要從 獨立應用程式呼叫這些 API,請務必注意。 如需詳細資訊和詳細資料,請參閱 其他 MSIX 套件的相依性

PushNotificationReceivedEventArgs

提供 PushReceived 事件的資料。

結構

PushNotificationCreateChannelStatus

提供呼叫 CreateChannelAsync所起始之推播通道建立要求的狀態資訊。

列舉

PushNotificationChannelStatus

指定使用 CreateChannelAsync呼叫所建立的推播通道狀態。