コード例 #1
0
ファイル: Debugger.cs プロジェクト: wparad/referencesource
 public static void NotifyOfCrossThreadDependency()
 {
     if (Debugger.IsAttached)
     {
         CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification();
         CustomNotification(notification);
     }
 }
コード例 #2
0
        private static void NotifyOfCrossThreadDependencySlow()
        {
            CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification();

            CustomNotification(notification);
            if (s_triggerThreadAbortExceptionForDebugger)
            {
                throw new ThreadAbortException();
            }
        }
コード例 #3
0
 private static void NotifyOfCrossThreadDependencySlow()
 {
     CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification();
     CustomNotification(notification);
 }
コード例 #4
0
ファイル: Debugger.cs プロジェクト: sjyanxin/WPFSource
 public static void NotifyOfCrossThreadDependency()
 { 
     CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification();
     CustomNotification(notification); 
 } 
コード例 #5
0
        private static void NotifyOfCrossThreadDependencySlow()
        {
            CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification();

            CustomNotification(notification);
        }
コード例 #6
0
 public static void NotifyOfCrossThreadDependency()
 {
     if (Debugger.IsAttached)
     {
         CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification();
         CustomNotification(notification);
     }
 }
コード例 #7
0
        public static void NotifyOfCrossThreadDependency()
        {
            CrossThreadDependencyNotification data = new CrossThreadDependencyNotification();

            CustomNotification(data);
        }
コード例 #8
0
 public static void NotifyOfCrossThreadDependency()
 {
     CrossThreadDependencyNotification data = new CrossThreadDependencyNotification();
     CustomNotification(data);
 }