Class ExceptionUtil
Provides utility methods for handling exceptions.
public static class ExceptionUtil
- Inheritance
-
ExceptionUtil
- Inherited Members
Methods
CatchExceptions(Task, Action<Exception>)
Continues the task and reports any exception via onException.
public static Task CatchExceptions(this Task task, Action<Exception> onException)
Parameters
Returns
CatchExceptions<TSilent>(Task, Action<Exception>)
Continues the task and reports exceptions via onException,
silently ignoring TSilent.
public static Task CatchExceptions<TSilent>(this Task task, Action<Exception> onException) where TSilent : Exception
Parameters
Returns
Type Parameters
TSilent