Interface ITaskService
An interface that a service for processing IServerTask implements
The service monitors the task queue and processes tasks independantly.
Can be run from a client that is directly connected to a database, or any directly connected serviceNamespace: LemonEdge.API.Tasks
Assembly: API.dll
Syntax
public interface ITaskService
Properties
IsRunning
Returns true if the task service is currently running
Declaration
bool IsRunning { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
SetFileOutput(String)
Sets a path to a file to log the processing of all tasks by the sevice to
Declaration
void SetFileOutput(string filePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | A path to file to log all task activity to |
StartOnNewThread()
Starts the service processing any IServerTask on the queue
Declaration
void StartOnNewThread()