Skip to the content.

PromptPlus API:StateProcess

Build Publish License NuGet Downloads

Back to List Api

StateProcess

Namespace: PPlus.Controls

Represents The Process state

public struct StateProcess

Inheritance ObjectValueTypeStateProcess

Properties

Description

Description of Task

public string Description { get; }

Property Value

String

ElapsedTime

Elapsed Time of Task

public TimeSpan ElapsedTime { get; }

Property Value

TimeSpan

ExceptionProcess

Exception of Task

public Exception ExceptionProcess { get; }

Property Value

Exception

Id

TaskTitle of Task

public string Id { get; }

Property Value

String

Status

Status of Task TaskStatus

public TaskStatus Status { get; }

Property Value

TaskStatus

StepMode

Step Mode of Task StateProcess.StepMode

public StepMode StepMode { get; }

Property Value

StepMode

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


Back to List Api