Expand Minimize

ExchangeService.DeleteItemsInConversations method

Deletes the items in a specified conversation.

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

public ServiceResponseCollection<ServiceResponse> DeleteItemsInConversations(
	IEnumerable<KeyValuePair<ConversationId, Nullable<DateTime>>> idLastSyncTimePairs,
	FolderId contextFolderId,
	DeleteMode deleteMode
)

Parameters

idLastSyncTimePairs
Type: System.Collections.Generic.IEnumerable<KeyValuePair<ConversationId, Nullable<DateTime>>>

The identifier of the conversation whose items are to be deleted, and the date and time that the conversation was last synchronized. Items that were received after that date will not be deleted.

contextFolderId
Type: Microsoft.Exchange.WebServices.Data.FolderId

The context folder identifier.

deleteMode
Type: Microsoft.Exchange.WebServices.Data.DeleteMode

The deletion mode.

Calling this method results in a call to Exchange Web Services (EWS).

Show:
© 2015 Microsoft