Share via


EmailReadNotificationTriggerDetails 类

定义

表示在附件上呈现电子邮件读取通知所需的所有信息。

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

Windows 要求

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

注解

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

当 AccessoryManager 在电子邮件上遇到读取状态更改时,它将唤醒 BackgroundTask。 为 BackgroundTask 提供了一个 IBackgroundTaskInstance,它具有包含 IEmailReadNotificationTriggerDetails 的 TriggerDetails 属性。

属性

AccessoryNotificationType

一个指定接收的通知类型的 AccessoryNotificationType 。 对于电子邮件通知,此值为 AccessoryNotificationType.EmailRead。

AccountName

表示电子邮件帐户的名称。

AppDisplayName

表示生成电子邮件读取通知的应用的显示名称。

AppId

与通知关联的应用的 ID(如果适用)。 这不是应用商店中应用的 ID。 它是特定手机上应用实例的 ID,用于唯一标识应用。

IsRead

表示是否已阅读电子邮件。

MessageEntryId

表示手机 MAPI 存储中单个电子邮件的唯一标识符。

ParentFolderName

电子邮件的父文件夹的名称。

StartedProcessing

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

TimeCreated

表示创建电子邮件通知的日期和时间。

适用于

另请参阅