IAsyncImapClient.GetNamespacesAsync

IAsyncImapClient.GetNamespacesAsync method

Gets namespaces that are available on a server.

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

Return Value

Task object, with delegate for this operation

See Also