EmailConversation EmailConversation EmailConversation EmailConversation Class

Definition

Represents an email conversation.

public : sealed class EmailConversation : IEmailConversationpublic sealed class EmailConversation : IEmailConversationPublic NotInheritable Class EmailConversation Implements IEmailConversation// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

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

Properties

FlagState FlagState FlagState FlagState

Gets the EmailFlagState for the conversation.

public : EmailFlagState FlagState { get; }public EmailFlagState FlagState { get; }Public ReadOnly Property FlagState As EmailFlagState// You can use this property in JavaScript.

HasAttachment HasAttachment HasAttachment HasAttachment

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

public : PlatForm::Boolean HasAttachment { get; }public bool HasAttachment { get; }Public ReadOnly Property HasAttachment As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

A Boolean value indicating if the conversation has an attachment.

Id Id Id Id

Gets the unique identifier for the EmailConversation.

public : PlatForm::String Id { get; }public string Id { get; }Public ReadOnly Property Id As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The unique identifier for the EmailConversation.

Importance Importance Importance Importance

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

public : EmailImportance Importance { get; }public EmailImportance Importance { get; }Public ReadOnly Property Importance As EmailImportance// You can use this property in JavaScript.
Value
EmailImportance EmailImportance EmailImportance EmailImportance

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

LastEmailResponseKind LastEmailResponseKind LastEmailResponseKind LastEmailResponseKind

Gets the last EmailMessageResponseKind for the conversation.

public : EmailMessageResponseKind LastEmailResponseKind { get; }public EmailMessageResponseKind LastEmailResponseKind { get; }Public ReadOnly Property LastEmailResponseKind As EmailMessageResponseKind// You can use this property in JavaScript.

LatestSender LatestSender LatestSender LatestSender

Gets the latest sender in the conversation.

public : EmailRecipient LatestSender { get; }public EmailRecipient LatestSender { get; }Public ReadOnly Property LatestSender As EmailRecipient// You can use this property in JavaScript.
Value
EmailRecipient EmailRecipient EmailRecipient EmailRecipient

The latest sender in the conversation.

MailboxId MailboxId MailboxId MailboxId

Gets the ID for the mailbox.

public : PlatForm::String MailboxId { get; }public string MailboxId { get; }Public ReadOnly Property MailboxId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The ID for the mailbox.

MessageCount MessageCount MessageCount MessageCount

Gets the number of messages in the conversation.

public : unsigned int MessageCount { get; }public uint MessageCount { get; }Public ReadOnly Property MessageCount As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The number of messages in the conversation.

MostRecentMessageId MostRecentMessageId MostRecentMessageId MostRecentMessageId

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

public : PlatForm::String MostRecentMessageId { get; }public string MostRecentMessageId { get; }Public ReadOnly Property MostRecentMessageId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The ID of the most recent message in the conversation.

MostRecentMessageTime MostRecentMessageTime MostRecentMessageTime MostRecentMessageTime

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

public : DateTime MostRecentMessageTime { get; }public DateTimeOffset MostRecentMessageTime { get; }Public ReadOnly Property MostRecentMessageTime As DateTimeOffset// You can use this property in JavaScript.
Value
DateTime DateTimeOffset DateTimeOffset DateTimeOffset

The time of the most recent message in the conversation.

Preview Preview Preview Preview

Gets a preview of the latest message in the conversation.

public : PlatForm::String Preview { get; }public string Preview { get; }Public ReadOnly Property Preview As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

A preview of the latest message in the conversation.

Subject Subject Subject Subject

Gets the subject of the latest message in the conversation.

public : PlatForm::String Subject { get; }public string Subject { get; }Public ReadOnly Property Subject As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The subject of the latest message in the conversation.

UnreadMessageCount UnreadMessageCount UnreadMessageCount UnreadMessageCount

Gets the number of unread messages in the conversation.

public : unsigned int UnreadMessageCount { get; }public uint UnreadMessageCount { get; }Public ReadOnly Property UnreadMessageCount As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The number of unread messages in the conversation.

Methods

FindMessagesAsync() FindMessagesAsync() FindMessagesAsync() FindMessagesAsync()

Asynchronously gets a batch of messages in the conversation.

public : IAsyncOperation<IVectorView<EmailMessage>> FindMessagesAsync()public IAsyncOperation<IReadOnlyList<EmailMessage>> FindMessagesAsync()Public Function FindMessagesAsync() As IAsyncOperation( Of IReadOnlyListEmailMessage )// You can use this method in JavaScript.
Returns
IAsyncOperation<IVectorView<EmailMessage>> IAsyncOperation<IReadOnlyList<EmailMessage>> IAsyncOperation<IReadOnlyList<EmailMessage>> IAsyncOperation<IReadOnlyList<EmailMessage>>

The batch of messages.

See Also

FindMessagesAsync(UInt32) FindMessagesAsync(UInt32) FindMessagesAsync(UInt32) FindMessagesAsync(UInt32)

Asynchronously gets a batch of messages in the conversation.

public : IAsyncOperation<IVectorView<EmailMessage>> FindMessagesAsync(unsigned int count)public IAsyncOperation<IReadOnlyList<EmailMessage>> FindMessagesAsync(UInt32 count)Public Function FindMessagesAsync(count As UInt32) As IAsyncOperation( Of IReadOnlyListEmailMessage )// You can use this method in JavaScript.
Parameters
count
unsigned int UInt32 UInt32 UInt32

The size of the batch of messages to retrieve.

Returns
IAsyncOperation<IVectorView<EmailMessage>> IAsyncOperation<IReadOnlyList<EmailMessage>> IAsyncOperation<IReadOnlyList<EmailMessage>> IAsyncOperation<IReadOnlyList<EmailMessage>>

The batch of messages.

See Also