BackgroundWorker Members
MSDN Home
MSDN
MSDN Library
Web Development
Silverlight 3
.NET Framework Class Library f ...
System.ComponentModel Namespac ...
BackgroundWorker Class
BackgroundWorker Class
BackgroundWorker Members
BackgroundWorker Constructor
BackgroundWorker Methods
BackgroundWorker Properties
BackgroundWorker Events
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
.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 :