ImapClient.GetQuotaAsync

GetQuotaAsync(IConnection, string)

Gets quota information

public Task<ImapQuota[]> GetQuotaAsync(IConnection connection, string quotaRootName)
ParameterTypeDescription
connectionIConnectionConnection to a server
quotaRootNameStringquota root name

Return Value

Task object, with delegate for this operation

See Also


GetQuotaAsync(string)

Gets quota information

public Task<ImapQuota[]> GetQuotaAsync(string quotaRootName)
ParameterTypeDescription
quotaRootNameStringquota root name

Return Value

Task object, with delegate for this operation

See Also


GetQuotaAsync(IConnection, string, CancellationToken)

Gets quota information

public Task<ImapQuota[]> GetQuotaAsync(IConnection connection, string quotaRootName, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
quotaRootNameStringquota root name
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


GetQuotaAsync(string, CancellationToken)

Gets quota information

public Task<ImapQuota[]> GetQuotaAsync(string quotaRootName, CancellationToken token)
ParameterTypeDescription
quotaRootNameStringquota root name
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also