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
Syntaxpublic Task<ImapQuota[]> SetQuotaAsync(
IConnection connection,
string quotaRootName,
string resourceName,
int resourceLimit,
CancellationToken token
)
Public Function SetQuotaAsync (
connection As IConnection,
quotaRootName As String,
resourceName As String,
resourceLimit As Integer,
token As CancellationToken
) As Task(Of ImapQuota())
public:
Task<array<ImapQuota^>^>^ SetQuotaAsync(
IConnection^ connection,
String^ quotaRootName,
String^ resourceName,
int resourceLimit,
CancellationToken token
)
member SetQuotaAsync :
connection : IConnection *
quotaRootName : string *
resourceName : string *
resourceLimit : int *
token : CancellationToken -> Task<ImapQuota[]>
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:
TaskImapQuotaTask object, with delegate for this operation
See Also