Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
 BackgroundWorker Members

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
BackgroundWorker Members

Executes an operation on a separate thread.

The BackgroundWorker type exposes the following members.

  NameDescription
Public methodBackgroundWorker Initializes a new instance of the BackgroundWorker class.
Top
  NameDescription
Public methodCancelAsync Requests cancellation of a pending background operation.
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public methodDisposeOverloaded. Releases the resources used by the Component.
Public methodEquals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public methodGetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected methodGetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public methodGetType Gets the Type of the current instance. (Inherited from Object.)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected methodMemberwiseCloneOverloaded.
Protected methodOnDoWork Raises the DoWork event.
Protected methodOnProgressChanged Raises the ProgressChanged event.
Protected methodOnRunWorkerCompleted Raises the RunWorkerCompleted event.
Public methodReportProgressOverloaded. Raises the ProgressChanged event.
Public methodRunWorkerAsyncOverloaded. Starts execution of a background operation.
Public methodToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Top
  NameDescription
Public propertyCancellationPending Gets a value indicating whether the application has requested cancellation of a background operation.
Protected propertyCanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public propertyContainer Gets the IContainer that contains the Component. (Inherited from Component.)
Protected propertyDesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Protected propertyEvents Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public propertyIsBusy Gets a value indicating whether the BackgroundWorker is running an asynchronous operation.
Public propertySite Gets or sets the ISite of the Component. (Inherited from Component.)
Public propertyWorkerReportsProgress Gets or sets a value indicating whether the BackgroundWorker can report progress updates.
Public propertyWorkerSupportsCancellation Gets or sets a value indicating whether the BackgroundWorker supports asynchronous cancellation.
Top
  NameDescription
Public eventDisposed Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)
Public eventDoWork Occurs when RunWorkerAsync is called.
Public eventProgressChanged Occurs when ReportProgress is called.
Public eventRunWorkerCompleted Occurs when the background operation has completed, has been canceled, or has raised an exception.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker