ThreadWorker MembersCleanCode C# Libraries v1.2.03 API

The ThreadWorker type exposes the following members.

Protected methodThreadWorker
Initializes a new instance of the ThreadWorker class.
Back to Top

Public methodCleanup
Tells the ThreadManager that this background task is complete.
Public methodCleanupDueToAbort
Tells the ThreadManager that this background task is complete due to a user-initiated abort.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodItemCount
Returns a count of the number of items to be handled by the worker thread.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodNoteAbort
Notes a user-initiated abort.
Public methodSetFields
Sets helper objects.
Public methodSetup
Prepares this instance, creating (but not starting) the thread.
Public methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Public methodUpdateResults
Abstract method for you to process completed data.
Back to Top

Protected fieldthreadManager
The parent ThreadManager that is running a collection of background threads.
Protected fieldtracer
The StructuredTrace used for diagnostic output.
Back to Top

Public propertyThreadName
Property managing the name of the thread in which this ThreadWorker works.
Back to Top
See Also