Skip to content

Class TaskExtensions

Namespace: Void.Proxy.Api.Extensions
Assembly: Void.Proxy.Api.dll

public static class TaskExtensions

Inheritance

objectTaskExtensions

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Methods

CatchExceptions(Task, ILogger, string)

public static Task CatchExceptions(this Task task, ILogger logger, string message)

Parameters

task Task

logger ILogger

message string

Returns

Task

CatchExceptions(ValueTask, ILogger, string)

public static ValueTask CatchExceptions(this ValueTask task, ILogger logger, string message)

Parameters

task ValueTask

logger ILogger

message string

Returns

ValueTask