ImapClient.CommitDeletesAsync

CommitDeletesAsync(IConnection)

Commit the deletions

public Task CommitDeletesAsync(IConnection connection)
ParameterTypeDescription
connectionIConnectionConnection to a server

Return Value

Task object, with delegate for this operation

See Also


CommitDeletesAsync(IConnection, int)

Commit the deletions

public Task CommitDeletesAsync(IConnection connection, int sleep)
ParameterTypeDescription
connectionIConnectionConnection to a server
sleepInt32Wait time complete the operation in milliseconds

Return Value

Task object, with delegate for this operation

See Also


CommitDeletesAsync()

Commit the deletions

public Task CommitDeletesAsync()

Return Value

Task object, with delegate for this operation

See Also


CommitDeletesAsync(int)

Commit the deletions

public Task CommitDeletesAsync(int sleep)
ParameterTypeDescription
sleepInt32Wait time complete the operation in milliseconds

Return Value

Task object, with delegate for this operation

See Also


CommitDeletesAsync(IEnumerable<string>)

Commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task CommitDeletesAsync(IEnumerable<string> uidSet)
ParameterTypeDescription
uidSetIEnumerable`1Set of unique identifiers for messages

Return Value

Task object, with delegate for this operation

See Also


CommitDeletesAsync(string)

Commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task CommitDeletesAsync(string uniqueId)
ParameterTypeDescription
uniqueIdStringThe uid of a message

Return Value

Task object, with delegate for this operation

See Also


CommitDeletesAsync(string, string)

Commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task CommitDeletesAsync(string startUid, string endUid)
ParameterTypeDescription
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list

Return Value

Task object, with delegate for this operation

See Also


CommitDeletesAsync(IConnection, IEnumerable<string>)

Commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task CommitDeletesAsync(IConnection connection, IEnumerable<string> uidSet)
ParameterTypeDescription
connectionIConnectionConnection to a server
uidSetIEnumerable`1Set of unique identifiers for messages

Return Value

Task object, with delegate for this operation

See Also


CommitDeletesAsync(IConnection, string)

Commit the deletions

public Task CommitDeletesAsync(IConnection connection, string uniqueId)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe uid of a message

Return Value

Task object, with delegate for this operation

See Also


CommitDeletesAsync(IConnection, string, string)

Commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task CommitDeletesAsync(IConnection connection, string startUid, string endUid)
ParameterTypeDescription
connectionIConnectionConnection to a server
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list

Return Value

Task object, with delegate for this operation

See Also


CommitDeletesAsync(IConnection, CancellationToken)

Commit the deletions

public Task CommitDeletesAsync(IConnection connection, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


CommitDeletesAsync(IConnection, int, CancellationToken)

Commit the deletions

public Task CommitDeletesAsync(IConnection connection, int sleep, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
sleepInt32Wait time complete the operation in milliseconds
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


CommitDeletesAsync(CancellationToken)

Commit the deletions

public Task CommitDeletesAsync(CancellationToken token)
ParameterTypeDescription
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


CommitDeletesAsync(int, CancellationToken)

Commit the deletions

public Task CommitDeletesAsync(int sleep, CancellationToken token)
ParameterTypeDescription
sleepInt32Wait time complete the operation in milliseconds
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


CommitDeletesAsync(IEnumerable<string>, CancellationToken)

Commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task CommitDeletesAsync(IEnumerable<string> uidSet, CancellationToken token)
ParameterTypeDescription
uidSetIEnumerable`1Set of unique identifiers for messages
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


CommitDeletesAsync(string, CancellationToken)

Commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task CommitDeletesAsync(string uniqueId, CancellationToken token)
ParameterTypeDescription
uniqueIdStringThe uid of a message
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


CommitDeletesAsync(string, string, CancellationToken)

Commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task CommitDeletesAsync(string startUid, string endUid, CancellationToken token)
ParameterTypeDescription
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


CommitDeletesAsync(IConnection, IEnumerable<string>, CancellationToken)

Commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task CommitDeletesAsync(IConnection connection, IEnumerable<string> uidSet, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uidSetIEnumerable`1Set of unique identifiers for messages
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


CommitDeletesAsync(IConnection, string, CancellationToken)

Commit the deletions

public Task CommitDeletesAsync(IConnection connection, string uniqueId, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe uid of a message
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


CommitDeletesAsync(IConnection, string, string, CancellationToken)

Commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315

public Task CommitDeletesAsync(IConnection connection, string startUid, string endUid, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
startUidStringThe starting UID of a message list
endUidStringThe ending UID of a message list
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also