PushNotificationReceivedEventArgs.ToastNotification 属性

定义

获取要显示以响应此推送通知的 Toast 的内容。

public:
 property ToastNotification ^ ToastNotification { ToastNotification ^ get(); };
ToastNotification ToastNotification();
public ToastNotification ToastNotification { get; }
var toastNotification = pushNotificationReceivedEventArgs.toastNotification;
Public ReadOnly Property ToastNotification As ToastNotification

属性值

保留 toast 信息。 如果 NotificationType 不是 Toast 类型,则此值为 NULL

Windows 要求

应用功能
internetClient

适用于

另请参阅