Class LoggableTask
This class contains properties that are needed for logging.
Implements
Inherited Members
Namespace: ETLBox
Assembly: ETLBox.dll
Syntax
public abstract class LoggableTask : ILoggableTask
Constructors
LoggableTask()
Declaration
public LoggableTask()
Properties
DisableLogging
If set to true, the component or task won't produce any log output.
Declaration
public virtual bool DisableLogging { get; set; }
Property Value
Type | Description |
---|---|
bool |
TaskHash
Creates a unique hash value to identify the task or component.
Declaration
public virtual string TaskHash { get; set; }
Property Value
Type | Description |
---|---|
string |
TaskName
A name to identify the task or component. Every component or task comes with a default name that can be overwritten.
Declaration
public virtual string TaskName { get; set; }
Property Value
Type | Description |
---|---|
string |
TaskType
A type description of the task or component. This is usually the class name.
Declaration
public virtual string TaskType { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
CopyLogTaskProperties(ILoggableTask)
Copies the relevant task properties from the current loggable task to another loggable task.
Declaration
public void CopyLogTaskProperties(ILoggableTask otherTask)
Parameters
Type | Name | Description |
---|---|---|
ILoggableTask | otherTask | The target task that retrieve a copy from the log task properties |