Difference between BackgroundWorker and Thread?

前端 未结 7 1637
南旧
南旧 2020-12-07 00:58

What is the difference between BackgroundWorker and Thread? In my application I am using a messaging system that communicates with the database reg

7条回答
  •  一向
    一向 (楼主)
    2020-12-07 01:23

    A BackgroundWorker is a thread implementation that allows you to assign assign a method to be done.

    It gives you an communication API that allows you to stop the work, track the progress, and get notified Asynchronously.

提交回复
热议问题