IAsyncEwsClient.DeleteConversationItemsAsync

IAsyncEwsClient.DeleteConversationItemsAsync method

Deletes the conversation items, which are located in the specified folder

public Task DeleteConversationItemsAsync(string conversationId, string contextFolderId = null, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
conversationIdStringId of conversation to delete
contextFolderIdStringId of folder in which delete conversation items. Note: If it’s set to null(or empty), all conversation items will be deleted
cancellationTokenCancellationTokenThe cancellation token.

Exceptions

exceptioncondition
AsposeArgumentExceptionconversationId is null or empty

See Also