public static void NotifyOfCrossThreadDependency() { if (Debugger.IsAttached) { CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification(); CustomNotification(notification); } }
private static void NotifyOfCrossThreadDependencySlow() { CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification(); CustomNotification(notification); if (s_triggerThreadAbortExceptionForDebugger) { throw new ThreadAbortException(); } }
private static void NotifyOfCrossThreadDependencySlow() { CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification(); CustomNotification(notification); }
public static void NotifyOfCrossThreadDependency() { CrossThreadDependencyNotification notification = new CrossThreadDependencyNotification(); CustomNotification(notification); }
public static void NotifyOfCrossThreadDependency() { CrossThreadDependencyNotification data = new CrossThreadDependencyNotification(); CustomNotification(data); }