Gets a value indicating whether this instance of the BackgroundWorker is currently running a worker thread operation.

Namespace:  ESRI.ArcGISExplorer.Threading

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public bool IsBusy { get; }
Visual Basic (Declaration)
Public ReadOnly Property IsBusy As Boolean

Field Value

trueTruetruetrue (True in Visual Basic) if this instance is busy; otherwise, falseFalsefalsefalse (False in Visual Basic).

Remarks

If this property is trueTruetruetrue (True in Visual Basic), this indicates that the DoWork event has been raised and the event handler has not yet returned.

Before calling RunWorkerAsync(Object) on an instance of the BackgroundWorker class, you should always check this property; do not call RunWorkerAsnyc if the worker is currently busy.

See Also