C# Class BF2Statistics.TaskStep

This class represents a Progressable report on a task that uses steps
Show file Open project: BF2Statistics/ControlCenter Class Usage Examples

Public Properties

Property Type Description
Description string
Error System.Exception
IsFaulted bool
StepId int

Public Methods

Method Description
TaskStep ( int Step, string Description = "", bool Faulted = false, Exception Error = null ) : System

Creates a new instance of TaskStep

Method Details

TaskStep() public method

Creates a new instance of TaskStep
public TaskStep ( int Step, string Description = "", bool Faulted = false, Exception Error = null ) : System
Step int
Description string
Faulted bool
Error System.Exception
return System

Property Details

Description public property

Gets or Sets a description for this step
public string Description
return string

Error public property

Gets or Sets the error that occured during this task step
public Exception,System Error
return System.Exception

IsFaulted public property

Indicates whether this task step had an error occur
public bool IsFaulted
return bool

StepId public property

Gets or Sets the ID of this step
public int StepId
return int