EmailConversation 类

定义

表示电子邮件对话。

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
继承
Object Platform::Object IInspectable EmailConversation
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
email emailSystem

注解

通过调用 EmailConversationReader.ReadBatchAsync 获取此类的实例。

属性

FlagState

获取对话的 EmailFlagState

HasAttachment

获取一个布尔值,该值指示会话是否具有附件。

Id

获取 EmailConversation 的唯一标识符。

Importance

获取指定会话重要性的值;正常、高或低。

LastEmailResponseKind

获取对话的最后一个 EmailMessageResponseKind

LatestSender

获取会话中的最新发件人。

MailboxId

获取邮箱的 ID。

MessageCount

获取会话中的消息数。

MostRecentMessageId

获取会话中最新消息的 ID。

MostRecentMessageTime

获取会话中最新消息的时间。

Preview

获取对话中最新消息的预览。

Subject

获取对话中最新消息的主题。

UnreadMessageCount

获取会话中未读消息的数目。

方法

FindMessagesAsync()

异步获取会话中的一批消息。

FindMessagesAsync(UInt32)

异步获取会话中的一批消息。

适用于