United Kingdom - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
Silverlight Developer Center
Home
Library
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
Web Development
Please Wait
Silverlight 3
Please Wait
.NET Framework Class Library for Si...
Please Wait
System.ComponentModel Namespace
Please Wait
BackgroundWorker Class
Please Wait
BackgroundWorker Members
Switch on low bandwidth view
Collapse All
Members Filter
Include Protected Members
Include Inherited Members
This page is specific to
Microsoft Silverlight 3
Other versions are also available for the following:
Microsoft Visual Studio 2005/.NET Framework 2.0
.NET Framework 3.0
Microsoft Visual Studio 2008/.NET Framework 3.5
Microsoft Visual Studio 2010/.NET Framework 4.0
.NET Framework Class Library for Silverlight
BackgroundWorker Members
Runs an operation on a separate thread.
The
BackgroundWorker
type exposes the following members.
Constructors
Name
Description
BackgroundWorker
Initializes a new instance of the
BackgroundWorker
class.
Top
Methods
Name
Description
CancelAsync
Requests cancellation of a pending background operation.
Equals
Determines whether the specified
Object
is equal to the current
Object
.
(Inherited from
Object
.)
Finalize
Allows an
Object
to attempt to free resources and perform other cleanup operations before the
Object
is reclaimed by garbage collection.
(Inherited from
Object
.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from
Object
.)
GetType
Gets the
Type
of the current instance.
(Inherited from
Object
.)
MemberwiseClone
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
OnDoWork
Raises the
DoWork
event.
OnProgressChanged
Raises the
ProgressChanged
event.
OnRunWorkerCompleted
Raises the
RunWorkerCompleted
event.
ReportProgress
Overloaded.
Raises the
ProgressChanged
event.
RunWorkerAsync
Overloaded.
Starts running a background operation.
ToString
Returns a
String
that represents the current
Object
.
(Inherited from
Object
.)
Top
Properties
Name
Description
CancellationPending
Gets a value that indicates whether the application has requested cancellation of a background operation.
IsBusy
Gets a value that indicates whether the
BackgroundWorker
is running a background operation.
WorkerReportsProgress
Gets or sets a value that indicates whether the
BackgroundWorker
can report progress updates.
WorkerSupportsCancellation
Gets or sets a value that indicates whether the
BackgroundWorker
supports asynchronous cancellation.
Top
Events
Name
Description
DoWork
Occurs when
RunWorkerAsync
is called.
ProgressChanged
Occurs when
ReportProgress
is called.
RunWorkerCompleted
Occurs when the background operation has completed, has been canceled, or has raised an exception.
Top
See Also
Reference
BackgroundWorker Class
System.ComponentModel Namespace
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Manage Your Profile
|
Legal
|
Contact Us
|
Newsletter Registration
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement