Share via


CalendarChangedNotificationTriggerDetails 类

定义

表示在附件上呈现日历更改通知所需的所有信息。

public ref class CalendarChangedNotificationTriggerDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
class CalendarChangedNotificationTriggerDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public sealed class CalendarChangedNotificationTriggerDetails
Public NotInheritable Class CalendarChangedNotificationTriggerDetails
继承
Object Platform::Object IInspectable CalendarChangedNotificationTriggerDetails
属性
实现

Windows 要求

设备系列
Windows Mobile Extension SDK (在 10.0.10240.0 中引入)
API contract
Windows.Phone.PhoneContract (在 v1.0 中引入)
应用功能
accessoryManager

注解

当 AccessoryManager 遇到日历更改时,它将唤醒 BackgroundTask。 为 BackgroundTask 提供了一个 IBackgroundTaskInstance,它具有包含 ICalendarChangedNotificationTriggerDetails 的 TriggerDetails 属性。

调用此 API 需要在应用程序清单中指定 ID_CAP_SMSID_CAP_SMS_COMPANION 功能。

属性

AccessoryNotificationType

一个指定接收的通知类型的 AccessoryNotificationType

AppDisplayName

表示生成通知的应用的显示名称。

AppId

表示生成通知的应用的实例 ID。

EventType

表示事件的类型。

ItemId

表示日历项的标识符。

StartedProcessing

指定附件是否已开始处理通知。

TimeCreated

获取通知的创建日期和时间。

适用于

另请参阅