Represents the collection of information that indicates the status of a Publishing Task.
Manipulation of the objects that implement this interface is usually done by the task itself.
Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax
The ITaskMonitor type exposes the following members.
Properties
Name | Description | |
---|---|---|
Completed |
Gets whether the corresponding Publishing Task was completed already.
| |
Count |
Gets the count of publishing Steps.
| |
Error |
Gets the error message that caused the corresponding Publishing Task to stop.
| |
Inactive |
Gets whether the corresponding Publishing Task was marked as inactive.
| |
OngoingStatus | ||
OngoingStep |
Gets the Step that is currently being executed.
| |
PercentCompleted |
Gets the completion percentage of the corresponding Publishing Task.
| |
TotalWeight |
Gets the total weight of all publishing Steps.
|
Methods
Name | Description | |
---|---|---|
Add |
Adds a new Step to monitor to this task.
| |
AdvanceStep |
Marks the previous Ongoing Step to the COMPLETED state.
| |
Clear |
Clears the Steps collection.
| |
Remove |
Removes a Step to monitor from this task.
| |
Reset |
Marks the monitor as inactive.
| |
Shutdown |
Shuts down the monitor and issues the PublishCompleteevent.
This method is called by Publishing Task upon completing the task.
| |
Step(Int32) |
Retrieves a Step by its index.
| |
Step(String) |
Retrieves a Step by its unique ID.
| |
Steps |
Retrieves the collection of Steps for the task to be monitored.
|
See Also