IAsyncEwsClient.ListTasksAsync

IAsyncEwsClient.ListTasksAsync method

Retrieves lists of exchange tasks.

public Task<TaskCollection> ListTasksAsync(string folder = null, int maxNumberOfItems = 0, 
    MailQuery query = null, bool recursive = false, CancellationToken cancellationToken = default)
ParameterTypeDescription
folderStringTasks folder
maxNumberOfItemsInt32Maximum number of items
queryMailQueryMail query
recursiveBooleanRetrieve tasks recursively
cancellationTokenCancellationTokenThe cancellation token.

Return Value

Tasks collection

See Also