IGraphClientAsync.UpdateTaskAsync
Contents
[
Hide
]UpdateTaskAsync(MapiTask, CancellationToken)
Asynchronously updates a task.
public Task<MapiTask> UpdateTaskAsync(MapiTask task, CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| task | MapiTask | The MapiTask to update. |
| 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 updated MapiTask.
See Also
- class MapiTask
- interface IGraphClientAsync
- namespace Aspose.Email.Clients.Graph
- assembly Aspose.Email
UpdateTaskAsync(MapiTask, UpdateSettings, CancellationToken)
Asynchronously updates a task with optional update settings.
public Task<MapiTask> UpdateTaskAsync(MapiTask task, UpdateSettings updateSettings,
CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| task | MapiTask | The MapiTask to update. |
| updateSettings | UpdateSettings | The update settings to use. |
| 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 updated MapiTask.
See Also
- class MapiTask
- class UpdateSettings
- interface IGraphClientAsync
- namespace Aspose.Email.Clients.Graph
- assembly Aspose.Email