IAsyncEwsClient.DeleteFoldersAsync

IAsyncEwsClient.DeleteFoldersAsync method

Deletes the folders

public Task DeleteFoldersAsync(IEnumerable<string> folderUris, bool deletePermanently = false, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
folderUrisIEnumerable`1The list of folder URIs
deletePermanentlyBooleanIndicates whether the folder should be deleted permanently or should be moved into DeletedItems folder
cancellationTokenCancellationTokenThe cancellation token.

Exceptions

exceptioncondition
AsposeArgumentNullExceptionfolderUris is null

See Also