IAsyncImapClient.GetNamespacesAsync
IAsyncImapClient.GetNamespacesAsync method
Gets namespaces that are available on a server.
public Task<ImapNamespace[]> GetNamespacesAsync(IConnection connection = null,
CancellationToken token = default)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapNamespace
- interface IConnection
- interface IAsyncImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email