你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NotificationInstallation 类

定义

NotificationInstallation包含用于通过通知中心为推送通知注册设备安装的信息。

public class NotificationInstallation
type NotificationInstallation = class
Public Class NotificationInstallation
继承
NotificationInstallation

构造函数

NotificationInstallation()

NotificationInstallation包含用于通过通知中心为推送通知注册设备安装的信息。

属性

InstallationId

要注册的设备安装 ID。

Platform

此安装的平台。 平台必须是以下值之一:wns、apns。
其中 wns 代表“Windows 推送通知服务”,apns 表示“Apple 推送通知服务”。

PushChannel

如果为 WNS 注册安装,则为通道 URI;注册 APNS 时的设备令牌。

SecondaryTiles

要在此安装中注册的对象的辅助磁贴名称 NotificationSecondaryTile 字典。

Tags

要注册到此安装的标记列表。

Templates

对象的模板名称 NotificationTemplate 字典。

适用于