Top "Backgroundworker" questions

BackgroundWorker is a helper class in .NET's System.

What does Cannot modify the logical children for this node at this time because a tree walk is in progress mean?

I am setting the DataContext of an object in the completed method of a background worker thread. For some reason, …

c# wpf backgroundworker
C# background worker not triggering dowork event on any pc besides my own

I'm having a really weird issue with a background worker in one of my applications. I recently overhauled it slightly …

c# events backgroundworker eventtrigger
How can I tell if a streamwriter is closed?

I'm using a streamwriter in combination with a background worker, for logging. As such, I have System::Void MyUI::execBWorker_…

.net c++-cli clr backgroundworker streamwriter
How to handle exceptions from a BackgroundWorker thread?

In a WPF app I have a sheduled database access task, periodically run by a timer and this task have …

c# .net wpf multithreading backgroundworker
How close BackgroundWorker thread when application is deactivated?

I create thread with BackgroundWorker, and in the loop I check every time if CancellationPending is true or not, like …

c# multithreading windows-phone-7 backgroundworker windows-phone-7.1
Is BackgroundWorker's IsBusy same as "IsAlive"?

I am trying to figure out a way to verify that a BackgroundWorker thread is alive (i.e. still running. …

c# winforms .net-4.0 backgroundworker watchdog
"Operation already completed" error when using Progress Bar

I currently have the following: View Model MovieProcessor movieProcessor = new MovieProcessor(SelectedPath, this); BackgroundWorker worker = new BackgroundWorker(); worker.WorkerReportsProgress = true; …

c# wpf progress-bar backgroundworker
Backgroundworker abort

I recently tried to use backgroundworker instead of "classic" threads and I'm realizing that it's causing, at least for me, …

c# winforms backgroundworker
WPF Dispatcher Invoke return value is always null

I have a call to a method that returns a UIElement that I call using the Dispatcher, below is the …

c# wpf backgroundworker dispatcher