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
func
Func<T>Function to call.
Returns
- T
Type Parameters
T
Type 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
action
ActionAction to call.