ImapClientSetQuotaAsync Method (IConnection, String, String, Int32, CancellationToken)

Sets quota information

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Task<ImapQuota[]> SetQuotaAsync(
	IConnection connection,
	string quotaRootName,
	string resourceName,
	int resourceLimit,
	CancellationToken token
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
quotaRootName
Type: SystemString
quota root name
resourceName
Type: SystemString
resource name
resourceLimit
Type: SystemInt32
resource limit
token
Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.

Return Value

Type: TaskImapQuota
Task object, with delegate for this operation
See Also