PushNotificationReceivedEventArgs.NotificationType 屬性

定義

取得從應用程式伺服器收到的推播通知類型。

public:
 property PushNotificationType NotificationType { PushNotificationType get(); };
PushNotificationType NotificationType();
public PushNotificationType NotificationType { get; }
var pushNotificationType = pushNotificationReceivedEventArgs.notificationType;
Public ReadOnly Property NotificationType As PushNotificationType

屬性值

已收到的推播通知類型 (徽章、磚、快顯通知或原始) 。

Windows 需求

應用程式功能
internetClient

備註

系結至次要磚的通道只會接受 徽章 更新的推播通知。 快顯 通知和 原始 通知必須使用系結至應用程式的通道。

適用於

另請參閱