EmailConversation Class

Definition

Represents an email conversation.

public ref class EmailConversation sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class EmailConversation final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class EmailConversation
Public NotInheritable Class EmailConversation
Inheritance
Object Platform::Object IInspectable EmailConversation
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
email emailSystem

Remarks

Obtain an instance of this class by calling EmailConversationReader.ReadBatchAsync.

Properties

FlagState

Gets the EmailFlagState for the conversation.

HasAttachment

Gets a Boolean value indicating if the conversation has an attachment.

Id

Gets the unique identifier for the EmailConversation.

Importance

Gets the value that specifies the importance of the conversation; normal, high or low.

LastEmailResponseKind

Gets the last EmailMessageResponseKind for the conversation.

LatestSender

Gets the latest sender in the conversation.

MailboxId

Gets the ID for the mailbox.

MessageCount

Gets the number of messages in the conversation.

MostRecentMessageId

Gets the ID of the most recent message in the conversation.

MostRecentMessageTime

Gets the time of the most recent message in the conversation.

Preview

Gets a preview of the latest message in the conversation.

Subject

Gets the subject of the latest message in the conversation.

UnreadMessageCount

Gets the number of unread messages in the conversation.

Methods

FindMessagesAsync()

Asynchronously gets a batch of messages in the conversation.

FindMessagesAsync(UInt32)

Asynchronously gets a batch of messages in the conversation.

Applies to