IMail |
Task<IMailFolder> GetFolderAsync( string path, CancellationToken cancellationToken = default )
Exception | Condition |
---|---|
ArgumentNullException | path is null. |
OperationCanceledException | The operation was canceled via the cancellation token. |
FolderNotFoundException | The folder could not be found. |
IOException | An I/O error occurred. |
ProtocolException | A protocol error occurred. |
CommandException | The command failed. |