EmailReadNotificationTriggerDetails.MessageEntryId Property

Definition

Represents a unique identifier for an individual email in phone MAPI store.

public:
 property BinaryId ^ MessageEntryId { BinaryId ^ get(); };
BinaryId MessageEntryId();
public BinaryId MessageEntryId { get; }
var binaryId = emailReadNotificationTriggerDetails.messageEntryId;
Public ReadOnly Property MessageEntryId As BinaryId

Property Value

The identifier for the email.

Windows requirements

App capabilities
accessoryManager

Remarks

To set the right context, the app will get this as part of a new email trigger as well as email read status change trigger. The messageEntryId can be used by AccessoryManager.UpdateEmailReadStatus API to update the read status of an email identified by the entry id.

Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.

Applies to