PromptPlus API:StateProcess
StateProcess
Namespace: PPlus.Controls
Represents The Process state
public struct StateProcess
Inheritance Object → ValueType → StateProcess
Properties
Description
Description of Task
public string Description { get; }
Property Value
ElapsedTime
Elapsed Time of Task
public TimeSpan ElapsedTime { get; }
Property Value
ExceptionProcess
Exception of Task
public Exception ExceptionProcess { get; }
Property Value
Id
TaskTitle of Task
public string Id { get; }
Property Value
Status
Status of Task TaskStatus
public TaskStatus Status { get; }
Property Value
StepMode
Step Mode of Task StateProcess.StepMode
public StepMode StepMode { get; }
Property Value
Constructors
StateProcess()
Create a StateProcess
StateProcess()
Remarks:
Do not use this constructor!
StateProcess(String, String, TaskStatus, Exception, TimeSpan, StepMode)
Create The Process state.Purpose only for unit testing
StateProcess(string id, string description, TaskStatus status, Exception exceptionProcess, TimeSpan elapsedtime, StepMode stepMode)
Parameters
id
String
description
String
status
TaskStatus
exceptionProcess
Exception
elapsedtime
TimeSpan
stepMode
StepMode