EwsFindFolderIdByShortName Method |
Namespace: MailBee.EwsMail
Exception | Condition |
---|---|
MailBeeException | An error occurred and ThrowExceptions is true. |
NotImplementedException | The .NET runtime is .NET Core. |
parentFolderId must be the immediate parent of folderName folder. Also, folderName must be a short name (not a full name with nested folder names in it).
Key difference of this method from DownloadFolderByShortName(FolderId, String) is that it returns just ID. This means that MailBee requests less info from the server making this method a bit more efficient. However, if you need the detailed info about the folder (e.g. message count, unseen count, etc), use DownloadFolderByShortName(FolderId, String) instead.
Note |
---|
This method is not implemented in .NET Core. Use FindFolderIdByShortNameAsync(FolderId, String) instead. |