IAsyncEwsClient.CreateTaskAsync
IAsyncEwsClient.CreateTaskAsync method
Creates the given task in the specified folder.
public Task<string> CreateTaskAsync(ExchangeTask task, string folder = null,
CancellationToken cancellationToken = default)
Parameter | Type | Description |
---|---|---|
task | ExchangeTask | A task to create. |
folder | String | A folder where task should be created. The folder TasksUri is used by default. |
cancellationToken | CancellationToken | The cancellation token. |
Exceptions
exception | condition |
---|---|
AsposeArgumentNullException | task is null . |
See Also
- class ExchangeTask
- interface IAsyncEwsClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email