private void InvokeExceptionInMainThread_Click(object sender, RoutedEventArgs e) { this.Dispatcher.BeginInvoke((Action)(() => { var commonExceptionTest = new CommonExceptionTest(FUseCodeException); commonExceptionTest.ExceptionInMainThread(); })); }
private void ExceptionInBackgroundThread_Click(object sender, RoutedEventArgs e) { var commonExceptionTest = new CommonExceptionTest(FUseCodeException); commonExceptionTest.ExceptionInBackgroundThread(); }
private void ExceptionInTask_Click(object sender, RoutedEventArgs e) { var commonExceptionTest = new CommonExceptionTest(FUseCodeException); commonExceptionTest.ExceptionInTask(); }
private void ExceptionInMainThread_Click(object sender, EventArgs e) { var commonExceptionTest = new CommonExceptionTest(FUseCodeException); commonExceptionTest.ExceptionInMainThread(); }