コード例 #1
0
 private void InvokeExceptionInMainThread_Click(object sender, RoutedEventArgs e)
 {
     this.Dispatcher.BeginInvoke((Action)(() =>
     {
         var commonExceptionTest = new CommonExceptionTest(FUseCodeException);
         commonExceptionTest.ExceptionInMainThread();
     }));
 }
コード例 #2
0
        private void ExceptionInBackgroundThread_Click(object sender, RoutedEventArgs e)
        {
            var commonExceptionTest = new CommonExceptionTest(FUseCodeException);

            commonExceptionTest.ExceptionInBackgroundThread();
        }
コード例 #3
0
        private void ExceptionInTask_Click(object sender, RoutedEventArgs e)
        {
            var commonExceptionTest = new CommonExceptionTest(FUseCodeException);

            commonExceptionTest.ExceptionInTask();
        }
コード例 #4
0
        private void ExceptionInMainThread_Click(object sender, EventArgs e)
        {
            var commonExceptionTest = new CommonExceptionTest(FUseCodeException);

            commonExceptionTest.ExceptionInMainThread();
        }