EwsDeleteItem Method
Deletes the specified item (e.g. mail message).

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public bool DeleteItem(
	ItemId id
)

Parameters

id
Type: ItemId
The ID of the item to delete. Null reference (Nothing in Visual Basic) not allowed.

Return Value

Type: Boolean
true if succeeded; otherwise, false.
Exceptions
ExceptionCondition
MailBeeExceptionAn error occurred and ThrowExceptions is true.
NotImplementedExceptionThe .NET runtime is .NET Core.
Remarks
The item is deleted using DeleteMethod mode.
Note Note
This method is not implemented in .NET Core. Use DeleteItemAsync(ItemId) instead.
See Also