コード例 #1
0
        private void ExceptionWithThreadSleepSecMinute()
        {
            System.Diagnostics.Trace.WriteLine("Start sleep." + DateTime.Now.Millisecond);
            Thread.Sleep(2000);
            System.Diagnostics.Trace.WriteLine("End sleep." + DateTime.Now.Millisecond);
            var thrower = new ExceptionThrower();

            thrower.RaiseException(FUseCodeException);
        }
コード例 #2
0
        public void ExceptionInMainThread()
        {
            var thrower = new ExceptionThrower();

            thrower.RaiseException(FUseCodeException);
        }