Class WorkflowError
A unit workflow error.
[DataContract]
public class WorkflowError : IExtensibleDataObject
- Inheritance
-
WorkflowError
- Implements
- Inherited Members
Constructors
WorkflowError(string)
Initializes a new instance of the WorkflowError class.
public WorkflowError(string message)
Parameters
message
stringThe error message text.
WorkflowError(string, bool)
Initializes a new instance of the WorkflowError class.
public WorkflowError(string message, bool isSilent)
Parameters
Properties
ExtensionData
Gets or sets the structure that contains extra data.
public virtual ExtensionDataObject ExtensionData { get; set; }
Property Value
IsSilent
Gets or sets whether to suppress the display of this workflow error to the operator.
[DataMember(Order = 100)]
public bool IsSilent { get; set; }
Property Value
Remarks
Workflow errors are normally displayed at the station via a popup message at manned stations or alarms at automated stations. If this property is true, this error will not be displayed, but it will still affect business logic (e.g., transitions will not occur).
Message
Gets the error message text.
[DataMember]
public string Message { get; }
Property Value
Methods
ToString()
Returns the Message value as a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.