ImapClient.GetNamespacesAsync

GetNamespacesAsync()

Gets namespaces that are available on a server.

public Task<ImapNamespace[]> GetNamespacesAsync()

Return Value

Task object, with delegate for this operation

See Also


GetNamespacesAsync(IConnection)

Gets namespaces that are available on a server.

public Task<ImapNamespace[]> GetNamespacesAsync(IConnection connection)
ParameterTypeDescription
connectionIConnectionConnection to a server

Return Value

Task object, with delegate for this operation

See Also


GetNamespacesAsync(CancellationToken)

Gets namespaces that are available on a server.

public Task<ImapNamespace[]> GetNamespacesAsync(CancellationToken token)
ParameterTypeDescription
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


GetNamespacesAsync(IConnection, CancellationToken)

Gets namespaces that are available on a server.

public Task<ImapNamespace[]> GetNamespacesAsync(IConnection connection, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also