Search Results for

    Show / Hide Table of Contents

    Class TaskExtensions

    Provides access to extension methods for Task.

    Inheritance
    object
    TaskExtensions
    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.

    In this article
    Back to top
    Generated by DocFX