BackgroundWorker.IsBusy Property

 

Gets a value indicating whether the BackgroundWorker is running an asynchronous operation.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

[<BrowsableAttribute(false)>]
member IsBusy : bool with get

Property Value

Type: System.Boolean

true, if the BackgroundWorker is running an asynchronous operation; otherwise, false.

The BackgroundWorker starts an asynchronous operation when you call RunWorkerAsync.

The following code example demonstrates how to use the IsBusy property to wait for completion of a BackgroundWorker operation. This code example is part of a larger example described in How to: Download a File in the Background.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: