PushNotificationCreateChannelResult 类

定义

表示通过调用 CreateChannelAsync 发起的推送通道创建请求的结果。

public ref class PushNotificationCreateChannelResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.PushNotifications.PushNotificationsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PushNotificationCreateChannelResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.PushNotifications.PushNotificationsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PushNotificationCreateChannelResult
Public NotInheritable Class PushNotificationCreateChannelResult
继承
Object Platform::Object IInspectable PushNotificationCreateChannelResult
属性

属性

Channel

获取成功调用 CreateChannelAsync 生成的推送通知通道。

ExtendedError

获取在通道创建期间看到的最后一个扩展错误。

Status

获取通过调用 CreateChannelAsync 发起的推送通道创建请求的状态。

适用于