The ThreadWorker type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
ThreadWorker |
Initializes a new instance
of the ThreadWorker class.
|
Methods
Name | Description | |
---|---|---|
Cleanup |
Tells the ThreadManager that this
background task is complete.
| |
CleanupDueToAbort |
Tells the ThreadManager that this
background task is complete due to a user-initiated abort.
| |
Equals | (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.) | |
ItemCount |
Returns a count of the number of items to be handled
by the worker thread.
| |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
NoteAbort |
Notes a user-initiated abort.
| |
SetFields |
Sets helper objects.
| |
Setup |
Prepares this instance, creating (but not starting) the thread.
| |
ToString | (Inherited from Object.) | |
UpdateResults |
Abstract method for you to process completed data.
|
Fields
Name | Description | |
---|---|---|
threadManager |
The parent ThreadManager that is running a collection
of background threads.
| |
tracer |
The StructuredTrace used for diagnostic output.
|
Properties
Name | Description | |
---|---|---|
ThreadName |
Property managing the name of the thread in
which this ThreadWorker works.
|
See Also