Click or drag to resize

IStepWithWeight Interface


Represents the information of a step/task entry in a background task to be monitored. By default, a step has one unit of weight in its Task Monitor. A step with weight can take multiple weight units. However, the units cannot be equal to or less than 0.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
public interface IStepWithWeight : IStep

The IStepWithWeight type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleDescription
Gets the description of the step.
(Inherited from IStep.)
Public propertyError
Gets the error message of the step.
(Inherited from IStep.)
Public propertyID
Gets the identifier of the step.
(Inherited from IStep.)
Public propertyName
Gets the name of the step.
(Inherited from IStep.)
Public propertyState
Gets the state of the step.
(Inherited from IStep.)
Public propertyWeight
Gets the weight of this step.
Top
Methods
  NameDescription
Public methodBegin
Changes the step's state to ON_GOING.
(Inherited from IStep.)
Public methodComplete
Changes the step's state to COMPLETED.
(Inherited from IStep.)
Public methodCompleteWithError
Changes the step's state to COMPLETED, but includes an error message; this is not a successful completion.
(Inherited from IStep.)
Top
See Also