PushNotificationChannelStatus 列舉

定義

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

public enum class PushNotificationChannelStatus
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.PushNotifications.PushNotificationsContract, 65536)]
enum class PushNotificationChannelStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.PushNotifications.PushNotificationsContract), 65536)]
public enum PushNotificationChannelStatus
var value = Microsoft.Windows.PushNotifications.PushNotificationChannelStatus.inProgress
Public Enum PushNotificationChannelStatus
繼承
PushNotificationChannelStatus
屬性

欄位

CompletedFailure 3

推送通道建立要求失敗,發生重大內部錯誤。 檢查 PushNotificationCreateChannelResult.ExtendedError 屬性,以取得建立通道要求時看到的最後一個擴充錯誤。

CompletedSuccess 2

推送通道建立要求已順利完成。

InProgress 0

推送通道建立要求正在進行中。

InProgressRetry 1

推送通道建立要求正在進行中,且處於輪詢重試狀態。 檢查 PushNotificationCreateChannelResult.ExtendedError 屬性,以取得建立通道要求時看到的最後一個擴充錯誤。

適用於