 | WorkerShell(String, XElement) Constructor |
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 "".
Namespace: LogicalTaskTreeAssembly: LogicalTaskTree (in LogicalTaskTree.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntaxpublic WorkerShell(
string slavePathName,
XElement slaveParameters
)
Public Sub New (
slavePathName As String,
slaveParameters As XElement
)
public:
WorkerShell(
String^ slavePathName,
XElement^ slaveParameters
)
new :
slavePathName : string *
slaveParameters : XElement -> WorkerShell
Parameters
- slavePathName String
- File path and name of an exe.
- slaveParameters XElement
- Call parameters of the exe as XML.
See also