共用方式為


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

如果適用,則為與通知相關聯的應用程式識別碼。 這不是市集中應用程式識別碼。 這是特定手機上應用程式實例的識別碼,可唯一識別應用程式。

IsRead

表示是否已讀取電子郵件。

MessageEntryId

代表電話 MAPI 存放區中個別電子郵件的唯一識別碼。

ParentFolderName

電子郵件訊息的父資料夾名稱。

StartedProcessing

指定配件是否已開始處理電子郵件通知。

TimeCreated

表示建立電子郵件通知的日期和時間。

適用於

另請參閱