Conversation Class

Definition

Represents a conversation.

public ref class Conversation : Microsoft::Exchange::WebServices::Data::ServiceObject
public class Conversation : Microsoft.Exchange.WebServices.Data.ServiceObject
Public Class Conversation
Inherits ServiceObject
Inheritance
Conversation

Remarks

A collection of Conversation objects is returned by the FindConversation(ViewBase, FolderId) method for the ExchangeService class. Property definitions for the Conversation class are defined in the ConversationSchema class.

Properties

Categories

Gets the category list for conversation items in the current folder.

DraftItemIds

Gets a collection of draft item identifiers for items that have not yet been sent.

FlagStatus

Gets the aggregated flag status for conversation items in the current folder.

GlobalCategories

Gets the category list for all conversation items in a mailbox.

GlobalFlagStatus

Gets the aggregated flag status for all conversation items in a mailbox.

GlobalHasAttachments

Gets a value that indicates whether at least one conversation item in a mailbox has an attachment.

GlobalHasIrm

Gets a value indicating whether at least one conversation item in any folder in a mailbox is protected by Information Rights Management (IRM).The GlobalHasIrm property is applicable for clients that target Exchange Online and versions of Exchange starting with 15.00.0847.032.

GlobalIconIndex

Gets the global icon index.The GlobalIconIndex property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

GlobalImportance

Gets the aggregated importance for all conversation items in a mailbox.

GlobalItemClasses

Gets a list of item classes that represents all the item classes of the conversation items in a mailbox.

GlobalItemIds

Gets the collection of item identifiers for all conversation items in a mailbox.

GlobalLastDeliveryTime

Gets the delivery time of the message that was last received in this conversation across all folders in the mailbox..

GlobalMessageCount

Gets the total number of conversation items in the mailbox.

GlobalSize

Gets the size of the conversation calculated from the size of all conversation items in the mailbox.

GlobalUniqueRecipients

Gets a list of all the people who have received messages in this conversation across all folders in the mailbox.

GlobalUniqueSenders

Gets a list of all the senders of conversation items in the mailbox.

GlobalUniqueUnreadSenders

Gets a list of all the people who have sent messages that are currently unread in this conversation across all folders in the mailbox.

GlobalUnreadCount

Gets a count of all the unread conversation items in the mailbox.

HasAttachments

Gets a value that indicates whether at least one conversation item in the current folder has an attachment.

HasIrm

Gets a value indicating whether at least one conversation item in the current folder is protected by Information Rights Management (IRM).The HasIrm property is applicable for clients that target Exchange Online and versions of Exchange starting with 15.00.0847.032.

IconIndex

Gets the icon index.The IconIndex property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Id

Gets the conversation identifier.

Importance

Gets the aggregated importance for all conversation items in the current folder.

InstanceKey

Gets the conversation instance key. The InstanceKey property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

IsDirty

Gets a value that indicates whether the object has been modified.

(Inherited from ServiceObject)
IsNew

Indicates whether this object exists in the Exchange database or if it is a local object that has not been saved to the Exchange database.

(Inherited from ServiceObject)
Item[PropertyDefinitionBase]

Gets the value of the specified property in this instance.

(Inherited from ServiceObject)
ItemClasses

Gets a list of item classes that represents all the item classes of the conversation items in the current folder.

ItemIds

Gets the collection of item identifiers for all conversation items in the current folder.

LastDeliveryTime

Gets the delivery time of the message that was last received in this conversation in the current folder.

LastModifiedTime

Gets the date and time this conversation was last modified. The LastModifiedTime property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

MessageCount

Gets the total number of conversation items in the current folder.

Preview

Gets the conversation preview. The Preview property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Schema

Gets the schema that is associated with this type of object.

(Inherited from ServiceObject)
Service

Gets the Exchange service for this object.

(Inherited from ServiceObject)
Size

Gets the size of the conversation calculated from the size of all conversation items in the current folder.

Topic

Gets the topic of the conversation.

UniqueRecipients

Gets a list of all the people who have received messages in this conversation for messages in the current folder.

UniqueSenders

Gets a list of all the senders of conversation items in the current folder.

UniqueUnreadSenders

Gets a list of all the people who have sent messages that are currently unread in this conversation in the current folder.

UnreadCount

Gets a count of all the unread conversation items in the current folder.

Methods

ClearItemFlags(FolderId)

Clears the flagged status on items in the associated conversation. The ClearItemFlags(FolderId) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

CopyItemsInConversation(FolderId, FolderId)

Copies items in the conversation to a specified folder.

DeleteItems(FolderId, DeleteMode)

Deletes items in the conversation.

DisableAlwaysCategorizeItems(Boolean)

Disables automatic categorization of items in a conversation.

DisableAlwaysDeleteItems(Boolean)

Disables the automatic move of items in a conversation to the Deleted Items folder.

DisableAlwaysMoveItemsInConversation(Boolean)

Disables the automatic move of items in a conversation to a target folder.

EnableAlwaysCategorizeItems(IEnumerable<String>, Boolean)

Enables the automatic categorization of items in a conversation.

EnableAlwaysDeleteItems(Boolean)

Enables the automatic move of items in a conversation to the Deleted Items folder.

EnableAlwaysMoveItems(FolderId, Boolean)

Enables the automatic move of new and existing items in a conversation to a target folder.

FlagItems(FolderId, Nullable<DateTime>, Nullable<DateTime>)

Sets the flagged status on items in the associated conversation. The FlagItems(FolderId, Nullable<DateTime>, Nullable<DateTime>) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

FlagItemsComplete(FolderId, Nullable<DateTime>)

Changes the flagged status of items in the associated conversation to complete. The FlagItemsComplete(FolderId, Nullable<DateTime>) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

GetLoadedPropertyDefinitions()

Provides the collection of loaded property definitions.

(Inherited from ServiceObject)
Load()

Loads the first-class properties.

(Inherited from ServiceObject)
Load(PropertySet)

Loads the specified set of properties.

(Inherited from ServiceObject)
MoveItemsInConversation(FolderId, FolderId)

Moves items in a conversation to a destination folder.

SetReadStateForItemsInConversation(FolderId, Boolean)

Sets the read state of items in a conversation.The SetReadStateForItemsInConversation(FolderId, Boolean) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

SetReadStateForItemsInConversation(FolderId, Boolean, Boolean)

Sets the read state of items in the specified conversation. The SetReadStateForItemsInConversation(FolderId, Boolean, Boolean) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

SetRetentionPolicyForItemsInConversation(FolderId, RetentionType, Nullable<Guid>)

Sets the retention policy of items in the specified conversation. The SetRetentionPolicyForItemsInConversation(FolderId, RetentionType, Nullable<Guid>) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

TryGetProperty(PropertyDefinitionBase, Object)

Tries to get the value of a specified property.

(Inherited from ServiceObject)
TryGetProperty<T>(PropertyDefinitionBase, T)

Tries to get the value of a specified property.

(Inherited from ServiceObject)

Applies to