SetQuotaAsync

ImapClient.SetQuotaAsync method (1 of 4)

Sets quota information

public Task<ImapQuota[]> SetQuotaAsync(IConnection connection, string quotaRootName, 
    string resourceName, int resourceLimit)
Parameter Type Description
connection IConnection Connection to a server
quotaRootName String quota root name
resourceName String resource name
resourceLimit Int32 resource limit

Return Value

Task object, with delegate for this operation

See Also


ImapClient.SetQuotaAsync method (2 of 4)

Sets quota information

public Task<ImapQuota[]> SetQuotaAsync(string quotaRootName, string resourceName, int resourceLimit)
Parameter Type Description
quotaRootName String quota root name
resourceName String resource name
resourceLimit Int32 resource limit

Return Value

Task object, with delegate for this operation

See Also


ImapClient.SetQuotaAsync method (3 of 4)

Sets quota information

public Task<ImapQuota[]> SetQuotaAsync(IConnection connection, string quotaRootName, 
    string resourceName, int resourceLimit, CancellationToken token)
Parameter Type Description
connection IConnection Connection to a server
quotaRootName String quota root name
resourceName String resource name
resourceLimit Int32 resource limit
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ImapClient.SetQuotaAsync method (4 of 4)

Sets quota information

public Task<ImapQuota[]> SetQuotaAsync(string quotaRootName, string resourceName, 
    int resourceLimit, CancellationToken token)
Parameter Type Description
quotaRootName String quota root name
resourceName String resource name
resourceLimit Int32 resource limit
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also