Conversation.DeleteItems method

Deletes items in the conversation.

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

public void DeleteItems(
	FolderId contextFolderId,
	DeleteMode deleteMode
)

Parameters

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

The folder identifier of the folder that contains the conversation items to delete. If this argument is set to a null reference (Nothing in Visual Basic), all items in a conversation across an entire mailbox are deleted.

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

The deletion mode.

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

Show: