GetNamespacesAsync

ImapClient.GetNamespacesAsync method (1 of 4)

Gets namespaces that are available on a server.

public Task<ImapNamespace[]> GetNamespacesAsync()

Return Value

Task object, with delegate for this operation

See Also


ImapClient.GetNamespacesAsync method (2 of 4)

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


ImapClient.GetNamespacesAsync method (3 of 4)

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


ImapClient.GetNamespacesAsync method (4 of 4)

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