Class TaskExtensions
Provides access to extension methods for Task.
Namespace: Evergine.Framework.Extensions
Assembly: Evergine.Framework.dll
Syntax
public static class TaskExtensions
Methods
IgnoreCancellation(Task)
Prevents TaskCanceledException or OperationCanceledException from propagating.
Declaration
public static Task IgnoreCancellation(this Task task)
Parameters
| Type | Name | Description |
|---|---|---|
| Task | task | The task for which to ignore exceptions. |
Returns
| Type | Description |
|---|---|
| Task | A task that wraps the given task. |