Exemplo n.º 1
0
 public static void NotifyOfCrossThreadDependency()
 {
     if (Debugger.IsAttached)
     {
         CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification();
         CustomNotification(notification);
     }
 }
Exemplo n.º 2
0
        private static void NotifyOfCrossThreadDependencySlow()
        {
            CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification();

            CustomNotification(notification);
            if (s_triggerThreadAbortExceptionForDebugger)
            {
                throw new ThreadAbortException();
            }
        }
Exemplo n.º 3
0
 private static void NotifyOfCrossThreadDependencySlow()
 {
     CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification();
     CustomNotification(notification);
 }
Exemplo n.º 4
0
 public static void NotifyOfCrossThreadDependency()
 { 
     CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification();
     CustomNotification(notification); 
 } 
Exemplo n.º 5
0
        private static void NotifyOfCrossThreadDependencySlow()
        {
            CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification();

            CustomNotification(notification);
        }
Exemplo n.º 6
0
 public static void NotifyOfCrossThreadDependency()
 {
     if (Debugger.IsAttached)
     {
         CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification();
         CustomNotification(notification);
     }
 }
Exemplo n.º 7
0
        public static void NotifyOfCrossThreadDependency()
        {
            CrossThreadDependencyNotification data = new CrossThreadDependencyNotification();

            CustomNotification(data);
        }
 public static void NotifyOfCrossThreadDependency()
 {
     CrossThreadDependencyNotification data = new CrossThreadDependencyNotification();
     CustomNotification(data);
 }