Top "Backgroundworker" questions

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

Windows Service that runs Periodically

I'm writing a windows service that once started will run every X hours. The process it completes is fairly intensive, …

c# windows-services multithreading backgroundworker
Basic BackgroundWorker usage with parameters

My process intensive method call that I want to perform in a background thread looks like this: object.Method(paramObj, …

c# parameters backgroundworker
C# Winform ProgressBar and BackgroundWorker

I have the following problem: I have a Form named MainForm. I have a long operation to be taken place …

c# winforms progress-bar backgroundworker
C# Background worker setting e.Result in DoWork and getting value back in WorkCompleted

C# 2008 SP1 I am using the background worker If one of the conditions fails I will set e.cancel to …

c# backgroundworker
Execute a method in main thread from event handler

I have a custom Queue class inherited from Queue class. It has an event ItemAdded. In the event handler of …

c# winforms multithreading events backgroundworker
Proper way to Dispose of a BackGroundWorker

Would this be a proper way to dispose of a BackGroundWorker? I'm not sure if it is necesary to remove …

c# .net multithreading backgroundworker
autoscroll to bottom of multiline textbox being updated by backgroundworker

I have a background worker control that is set to perform a task, and update a multiline text box on …

vb.net textbox scroll backgroundworker
InvalidOperationException - object is currently in use elsewhere

I've gone through this SO question but it didn't help. The case here is different. I'm using Backgroundworkers. 1st backgroundworker …

c# .net winforms backgroundworker
Backgroundworker won't report progress

I have a background worker running a long database task. i want to show the progress bar while the task …

c# wpf backgroundworker progress
Task parallel library replacement for BackgroundWorker?

Does the task parallel library have anything that would be considered a replacement or improvement over the BackgroundWorker class? I …

c# winforms backgroundworker task-parallel-library