Method HandleThreadExceptions
HandleThreadExceptions<T>(Func<T>)
Calls func inside try-catch block if specified by the exception handling
settings FastThreadExceptions and GetUnhandledExceptionMode().
public static T HandleThreadExceptions<T>(Func<T> func)
Parameters
funcFunc<T>Function to call.
Returns
- T
Type Parameters
TType of the function result.
HandleThreadExceptions(Action)
Calls action inside try-catch block if specified by the exception handling
settings FastThreadExceptions and GetUnhandledExceptionMode().
public static void HandleThreadExceptions(Action action)
Parameters
actionActionAction to call.