EwsDeleteFolder Method |
Namespace: MailBee.EwsMail
Exception | Condition |
---|---|
MailBeeException | An error occurred and ThrowExceptions is true. |
NotImplementedException | The .NET runtime is .NET Core. |
To delete a folder by its name, first locate its ID with FindFolderIdByShortName(FolderId, String) or FindFolderIdByFullName(String) method.
To control how items are deleted (e.g. to Trash or permanently), use DeleteMethod property.
This method can delete non-empty folders.
Note |
---|
This method is not implemented in .NET Core. Use DeleteFolderAsync(FolderId) instead. |