ExchangeService.GetConversationItems method (ConversationId, PropertySet, String, IEnumerable<FolderId>, Nullable<ConversationSortOrder>)

Gets some or all items in a conversation specified by a conversation identifier. The items retrieved have the specified properties, are synchronized with the server according to information supplied by a synchronization state, and are sorted according to a sort order. The items returned may be further limited by selectively ignoring folders in the search hierarchy.

The GetConversationItems(ConversationId, PropertySet, String, IEnumerable<FolderId>, Nullable<ConversationSortOrder>) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public ConversationResponse GetConversationItems(
	ConversationId conversationId,
	PropertySet propertySet,
	string syncState,
	IEnumerable<FolderId> foldersToIgnore,
	Nullable<ConversationSortOrder> sortOrder
)

Parameters

conversationId
Type: Microsoft.Exchange.WebServices.Data.ConversationId

The conversation identifier.

propertySet
Type: Microsoft.Exchange.WebServices.Data.PropertySet

The set of additional properties to be returned in the response.

syncState
Type: System.String

The optional sync state representing the point in time to start the synchronization.

foldersToIgnore
Type: System.Collections.Generic.IEnumerable<FolderId>

The folders in the search hierarchy to ignore.

sortOrder
Type: System.Nullable<ConversationSortOrder>

The property and item sort order direction used to sort the results.

Return value

Type: Microsoft.Exchange.WebServices.Data.ConversationResponse
A collection of conversation items.
Show:
© 2014 Microsoft