Click or drag to resize

WorkerShell constructor

List of overloads
 NameDescription of the
Public MethodWorkerShell(String, XElement) constructor - takes over the path to the worker exe, and a parameter string that is used for the call of the exe is also transferred. The parameter string can be any string defined by The following placeholders can be resolved in the program session which are replaced by current runtime values when the worker exe is called: "%Event%" = Name of the event that led to the worker being called, "%Source%" = Source of the event (node in which the event first occurred), "%Sender%" = Node that is currently calling the worker due to the event, "%Timestamp%" = current date with current time in the format "dd.MM.yyyy HH.mm.ss", "%Logical%" = current logical value of the transmitter, "%Exception%" = Exception.Message, if %Event% is "Exception", otherwise "".
Public MethodWorkerShell(String, XElement, Boolean, INodeTrigger) constructor - takes over the path to the worker exe, and a parameter string that is used for the call of the exe is also transferred. Optionally, a trigger can also be transferred, which repeatedly calls a worker once it has been activated. In addition to any placeholders that can be resolved by the program session, the parameter string can contain contain the following placeholders, which are replaced by current runtime values when the worker exe is called be replaced: "%Event%" = Name of the event that led to the worker being called, "%Source%" = Source of the event (node in which the event first occurred), "%Sender%" = Node that is currently calling the worker due to the event, "%Timestamp%" = current date with current time in the format "dd.MM.yyyy HH.mm.ss", "%Logical%" = current logical value of the transmitter, "%Exception%" = Exception.Message, if %Event% is "Exception", otherwise "".
Back to the top
See also