EwsEmptyFolder Method |
Namespace: MailBee.EwsMail
Exception | Condition |
---|---|
MailBeeException | An error occurred and ThrowExceptions is true. |
NotImplementedException | The .NET runtime is .NET Core. |
To empty 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.
Note |
---|
This method is not implemented in .NET Core. Use EmptyFolderAsync(FolderId, Boolean) instead. |