public static bool Failed(SendOrPostCallback codeBlock) { ExceptionCatcher exceptionCatcher = new ExceptionCatcher(); bool result = exceptionCatcher.Failed(codeBlock); return(result); }