The VirtualValueRequest type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
Dispose | Frees up resources.
(Inherited from WorkItem.) | |
Dispose(Boolean) | Override this method to release unmanaged and - optionally - managed resources.
(Inherited from WorkItem.) | |
Equals |
Determines whether the specified obj is the same instance as the current work item.
(Inherited from WorkItem.) | |
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.
(Inherited from WorkItem.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PushResultHandler TItem |
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.
(Inherited from WorkItem.) | |
ReadModel TModel |
Allows reading the associated worker model in a thread-safe way.
(Inherited from WorkItem.) | |
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.
(Inherited from WorkItem.) | |
SetEmptyResult |
Sets the result value of this request to an empty value.
| |
SetErrorResult | Obsolete.
Sets the result value of this request to an error value, with
the provided error message. The error message may not be null
or an empty string.
| |
SetImmutableResult |
Sets the immutable result.
(Inherited from WorkItem.) | |
SetTransientEmptyResult |
Sets the result value of this request to an empty value. Unlike SetEmptyResult it will
be forgotten by the cache over time enabling new requests. This method is thus intended
for temporary errors such as network failures etc.
| |
SetValidResult |
Sets the result value of this request to a valid value.
|
See Also