The BackgroundWorker type exposes the following members.

Constructors

  NameDescription
BackgroundWorker
Initializes a new instance of the View class.

Methods

  NameDescription
CancelAsync
Requests cancellation of the current worker thread operation.
CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
DisposeOverloaded.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
GetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
MemberwiseCloneOverloaded.
ReportProgressOverloaded.
Raises the ProgressChanged event to report the progress of the worker thread operation.
RunWorkerAsyncOverloaded.
Raises the DoWork event to start execution of a worker thread operation.
ToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)

Properties

  NameDescription
CancellationPending
Gets a value indicating whether this instance of the BackgroundWorker has been asked to cancel the current worker thread operation.
CanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
DesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
IsBusy
Gets a value indicating whether this instance of the BackgroundWorker is currently running a worker thread operation.
Site
Gets or sets the ISite of the Component.
(Inherited from Component.)

Events

  NameDescription
Disposed
Occurs when the component is disposed by a call to the Dispose()()() method.
(Inherited from Component.)
DoWork
Occurs on a worker thread when RunWorkerAsync is called.
ProgressChanged
Occurs on the UI thread when ReportProgress is called on this BackgroundWorker.
RunWorkerCompleted
Occurs on the UI thread after the DoWork operation has returned.

See Also