PushNotificationChannelStatus 列舉
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定呼叫 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
- 屬性
欄位
名稱 | 值 | Description |
---|---|---|
CompletedFailure | 3 | 推送通道建立要求失敗,發生重大內部錯誤。 檢查 PushNotificationCreateChannelResult.ExtendedError 屬性,以取得建立通道要求時看到的最後一個擴充錯誤。 |
CompletedSuccess | 2 | 推送通道建立要求已順利完成。 |
InProgress | 0 | 推送通道建立要求正在進行中。 |
InProgressRetry | 1 | 推送通道建立要求正在進行中,且處於輪詢重試狀態。 檢查 PushNotificationCreateChannelResult.ExtendedError 屬性,以取得建立通道要求時看到的最後一個擴充錯誤。 |