BackgroundWorker’s RunWorkerCompleted event’s weird behavior in Outlook Add In developed using VSTO 4.0
If one uses “BackgroundWorker” class in an application.Then, as per the documentation and the discussion found online. It is suppose to raise “RunWorkerCompleted” and “ProgressChanged” on the same thread. On which the object of “BackgroundWorker” was created. Which in case of Windows form application would be UI Thread. But, if one uses “BackgroundWorker” class in [...]