Mail |
public abstract IList<IMailFolder> GetFolders( FolderNamespace namespace, StatusItems items = StatusItems.None, bool subscribedOnly = false, CancellationToken cancellationToken = default )
Exception | Condition |
---|---|
ArgumentNullException | namespace is null. |
ObjectDisposedException | The MailStore has been disposed. |
ServiceNotConnectedException | The MailStore is not connected. |
ServiceNotAuthenticatedException | The MailStore is not authenticated. |
OperationCanceledException | The operation was canceled via the cancellation token. |
IOException | An I/O error occurred. |
ProtocolException | A protocol error occurred. |
CommandException | The command failed. |