ImapClient.SetQuotaAsync

SetQuotaAsync(IConnection, string, string, int)

Sets quota information

public Task<ImapQuota[]> SetQuotaAsync(IConnection connection, string quotaRootName, 
    string resourceName, int resourceLimit)
ParameterTypeDescription
connectionIConnectionConnection to a server
quotaRootNameStringquota root name
resourceNameStringresource name
resourceLimitInt32resource limit

Return Value

Task object, with delegate for this operation

See Also


SetQuotaAsync(string, string, int)

Sets quota information

public Task<ImapQuota[]> SetQuotaAsync(string quotaRootName, string resourceName, int resourceLimit)
ParameterTypeDescription
quotaRootNameStringquota root name
resourceNameStringresource name
resourceLimitInt32resource limit

Return Value

Task object, with delegate for this operation

See Also


SetQuotaAsync(IConnection, string, string, int, CancellationToken)

Sets quota information

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

Return Value

Task object, with delegate for this operation

See Also


SetQuotaAsync(string, string, int, CancellationToken)

Sets quota information

public Task<ImapQuota[]> SetQuotaAsync(string quotaRootName, string resourceName, 
    int resourceLimit, CancellationToken token)
ParameterTypeDescription
quotaRootNameStringquota root name
resourceNameStringresource name
resourceLimitInt32resource limit
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also