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.
| |
| (Inherited from | ||
Allows an (Inherited from | ||
Serves as a hash function for a particular type.
(Inherited from | ||
Gets the (Inherited from | ||
| ItemCount |
Returns a count of the number of items to be handled
by the worker thread.
| |
Creates a shallow copy of the current (Inherited from | ||
| NoteAbort |
Notes a user-initiated abort.
| |
| SetFields |
Sets helper objects.
| |
| Setup |
Prepares this instance, creating (but not starting) the thread.
| |
| (Inherited from | ||
| 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