ISimpleWorkItem Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the work item that doesn't require any additional user input except context it is executed in.
public interface class ISimpleWorkItem : System::ComponentModel::INotifyPropertyChanged
public interface ISimpleWorkItem : System.ComponentModel.INotifyPropertyChanged
type ISimpleWorkItem = interface
interface INotifyPropertyChanged
Public Interface ISimpleWorkItem
Implements INotifyPropertyChanged
- Implements
Properties
Excluded |
Gets whether the current work item should be excluded from processing. |
ExecutionError |
Gets the detailed error information. |
ExecutionErrorMessage |
Gets the error message. |
Name |
Gets the work item display name. |
State |
Gets the work item state. |
StateImage |
Gets the image representing state. |
StateText |
Gets the localized state text. |
Methods
Abort() |
Aborts the work item. |
Initialize(ITaskManager, IContext) |
Initializes the work item using provided context. If context is incompatible with work item type, Initialize can return false and this item would be ignored. |
Reset() |
Resets the work item into pending state. |
Run() |
Executes the work item. |
Script(ISfcScriptCollector) |
Scripts the work item. |