Class WebFarmTaskBase
Represents a type of a web farm task which has a condition to be met in order to log such type of task and an associated action to be executed upon task processing.
public abstract class WebFarmTaskBase
- Inheritance
-
objectWebFarmTaskBase
- Derived
- Extension Methods
Properties
TaskBinaryData
Gets or sets the binary representation of data.
[JsonIgnore]
public BinaryDataWrapper TaskBinaryData { get; set; }
Property Value
TaskFilePath
Gets or sets target path of file transported by task.
[JsonIgnore]
public string TaskFilePath { get; set; }
Property Value
- string
TaskTarget
Gets or sets task target.
[JsonIgnore]
public string TaskTarget { get; set; }
Property Value
- string
Methods
ConditionMethod()
Condition which must be met in order to log the task.
public virtual bool ConditionMethod()
Returns
- bool
ExecuteTask()
Action which is invoked when the web farm task executes.
public abstract void ExecuteTask()