IGraphClientAsync.CreateTaskAsync
IGraphClientAsync.CreateTaskAsync method
Asynchronously creates a task in the specified task list.
public Task<MapiTask> CreateTaskAsync(MapiTask task, string taskListUri,
CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| task | MapiTask | The MapiTask to create. |
| taskListUri | String | The URI of the task list. |
| cancellationToken | CancellationToken | A cancellation token to observe while waiting for the task to complete. |
Return Value
A task that represents the asynchronous operation. The task result contains the created MapiTask.
See Also
- class MapiTask
- interface IGraphClientAsync
- namespace Aspose.Email.Clients.Graph
- assembly Aspose.Email