Edit

Share via


ExchangeService.GetConversationItems Method

Definition

Overloads

GetConversationItems(IEnumerable<ConversationRequest>, PropertySet, IEnumerable<FolderId>, Nullable<ConversationSortOrder>)

Gets the items associated with a set of conversations. The items retrieved have the specified additional properties and are sorted according to a sort order. The items returned are limited by selectively ignoring folders in the search hierarchy. The GetConversationItems(IEnumerable<ConversationRequest>, PropertySet, IEnumerable<FolderId>, Nullable<ConversationSortOrder>) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

GetConversationItems(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.

GetConversationItems(IEnumerable<ConversationRequest>, PropertySet, IEnumerable<FolderId>, Nullable<ConversationSortOrder>, Nullable<MailboxSearchLocation>)

Gets items associated with a set of conversations. The items retrieved have the additional properties specified and are sorted according to a sort order. The set of items returned may be further limited by selectively ignoring folders in the search hierarchy and whether the target mailboxes are primary, archive, or both. The GetConversationItems(IEnumerable<ConversationRequest>, PropertySet, IEnumerable<FolderId>, Nullable<ConversationSortOrder>, Nullable<MailboxSearchLocation>) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

GetConversationItems(IEnumerable<ConversationRequest>, PropertySet, IEnumerable<FolderId>, Nullable<ConversationSortOrder>)

Gets the items associated with a set of conversations. The items retrieved have the specified additional properties and are sorted according to a sort order. The items returned are limited by selectively ignoring folders in the search hierarchy. The GetConversationItems(IEnumerable<ConversationRequest>, PropertySet, IEnumerable<FolderId>, Nullable<ConversationSortOrder>) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public:
 Microsoft::Exchange::WebServices::Data::ServiceResponseCollection<Microsoft::Exchange::WebServices::Data::GetConversationItemsResponse ^> ^ GetConversationItems(System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::ConversationRequest ^> ^ conversations, Microsoft::Exchange::WebServices::Data::PropertySet ^ propertySet, System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::FolderId ^> ^ foldersToIgnore, Nullable<Microsoft::Exchange::WebServices::Data::ConversationSortOrder> sortOrder);
public Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<Microsoft.Exchange.WebServices.Data.GetConversationItemsResponse> GetConversationItems (System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.ConversationRequest> conversations, Microsoft.Exchange.WebServices.Data.PropertySet propertySet, System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.FolderId> foldersToIgnore, Nullable<Microsoft.Exchange.WebServices.Data.ConversationSortOrder> sortOrder);

Parameters

conversations
IEnumerable<ConversationRequest>

Conversations with items to load.

propertySet
PropertySet

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

foldersToIgnore
IEnumerable<FolderId>

The folders in the search hierarchy to ignore.

sortOrder
Nullable<ConversationSortOrder>

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

Returns

A collection of conversation items.

Applies to

GetConversationItems(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.

public:
 Microsoft::Exchange::WebServices::Data::ConversationResponse ^ GetConversationItems(Microsoft::Exchange::WebServices::Data::ConversationId ^ conversationId, Microsoft::Exchange::WebServices::Data::PropertySet ^ propertySet, System::String ^ syncState, System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::FolderId ^> ^ foldersToIgnore, Nullable<Microsoft::Exchange::WebServices::Data::ConversationSortOrder> sortOrder);
public Microsoft.Exchange.WebServices.Data.ConversationResponse GetConversationItems (Microsoft.Exchange.WebServices.Data.ConversationId conversationId, Microsoft.Exchange.WebServices.Data.PropertySet propertySet, string syncState, System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.FolderId> foldersToIgnore, Nullable<Microsoft.Exchange.WebServices.Data.ConversationSortOrder> sortOrder);

Parameters

conversationId
ConversationId

The conversation identifier.

propertySet
PropertySet

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

syncState
String

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

foldersToIgnore
IEnumerable<FolderId>

The folders in the search hierarchy to ignore.

sortOrder
Nullable<ConversationSortOrder>

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

Returns

A collection of conversation items.

Applies to

GetConversationItems(IEnumerable<ConversationRequest>, PropertySet, IEnumerable<FolderId>, Nullable<ConversationSortOrder>, Nullable<MailboxSearchLocation>)

Gets items associated with a set of conversations. The items retrieved have the additional properties specified and are sorted according to a sort order. The set of items returned may be further limited by selectively ignoring folders in the search hierarchy and whether the target mailboxes are primary, archive, or both. The GetConversationItems(IEnumerable<ConversationRequest>, PropertySet, IEnumerable<FolderId>, Nullable<ConversationSortOrder>, Nullable<MailboxSearchLocation>) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public:
 Microsoft::Exchange::WebServices::Data::ServiceResponseCollection<Microsoft::Exchange::WebServices::Data::GetConversationItemsResponse ^> ^ GetConversationItems(System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::ConversationRequest ^> ^ conversations, Microsoft::Exchange::WebServices::Data::PropertySet ^ propertySet, System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::FolderId ^> ^ foldersToIgnore, Nullable<Microsoft::Exchange::WebServices::Data::ConversationSortOrder> sortOrder, Nullable<Microsoft::Exchange::WebServices::Data::MailboxSearchLocation> mailboxScope);
public Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<Microsoft.Exchange.WebServices.Data.GetConversationItemsResponse> GetConversationItems (System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.ConversationRequest> conversations, Microsoft.Exchange.WebServices.Data.PropertySet propertySet, System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.FolderId> foldersToIgnore, Nullable<Microsoft.Exchange.WebServices.Data.ConversationSortOrder> sortOrder, Nullable<Microsoft.Exchange.WebServices.Data.MailboxSearchLocation> mailboxScope);

Parameters

conversations
IEnumerable<ConversationRequest>

Conversations with items to load.

propertySet
PropertySet

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

foldersToIgnore
IEnumerable<FolderId>

The folders in the search hierarchy to ignore.

sortOrder
Nullable<ConversationSortOrder>

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

mailboxScope
Nullable<MailboxSearchLocation>

The mailbox scope to reference.

Returns

A collection of conversation items.

Applies to