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