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 Function GetConversationItems ( _
	conversationId As ConversationId, _
	propertySet As PropertySet, _
	syncState As String, _
	foldersToIgnore As IEnumerable(Of FolderId), _
	sortOrder As Nullable(Of ConversationSortOrder) _
) As ConversationResponse
Dim instance As ExchangeService
Dim conversationId As ConversationId
Dim propertySet As PropertySet
Dim syncState As String
Dim foldersToIgnore As IEnumerable(Of FolderId)
Dim sortOrder As Nullable(Of ConversationSortOrder)
Dim returnValue As ConversationResponse

returnValue = instance.GetConversationItems(conversationId, _
	propertySet, syncState, foldersToIgnore, _


Type: Microsoft.Exchange.WebServices.Data.ConversationId

The conversation identifier.

Type: Microsoft.Exchange.WebServices.Data.PropertySet

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

Type: System.String

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

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

The folders in the search hierarchy to ignore.

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.