The WorkItem type exposes the following members.
Methods
Name | Description | |
---|---|---|
Dispose | Frees up resources.
| |
Dispose(Boolean) | Override this method to release unmanaged and - optionally - managed resources.
| |
Equals |
Determines whether the specified obj is the same instance as the current work item.
(Overrides ObjectEquals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PushResultHandlerTItem |
Adds a result handler to the top of the stack of result handlers.
The handler must call ReturnItem when it is finished with the work item.
| |
ReadModelTModel |
Allows reading the associated worker model in a thread-safe way.
| |
ReturnItem | Signals that a worker or result handler is finished with the work item.
The method then passes the work item to the next handler in the stack.
| |
SetImmutableResult |
Sets the immutable result.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also