public DispatcherToken(SchedulingService manager, DispatcherPriority priority) { this.manager = manager; this.priority = priority; Dispatcher.CurrentDispatcher.BeginInvoke(priority, (Delegate) new DispatcherOperationCallback(this.Dispatch), (object)null); }