This receiver launch a program when receiving an event. Your program must run in background and will be under the security context of the service.
See Service Configuration for detailled information to configure your service. You must declare this receiver with the <receiver> section inside a <group> section. It will looks like :
<receiver name="MyReceiverName" type="LeCouteauSuisse.Components.LaunchTaskReceiver,
LeCouteauSuisseComponents, Version=1.0.0.2, Culture=neutral, PublicKeyToken=8d1037c5df6d5bd0">
This component have some parameters inside the section <settings>. Each parameter is written with a <setting> section.
Key name | Mandatory | Default value | Description |
taskFormat | Yes | | The full path of an application file to run in the process. |
taskArguments | No | | The arguments to format taskFormat. See Format parameters. |
commandLineFormat | No | | Command-line arguments to pass when starting the process. |
commandLineArguments | No | | The arguments to format commandLineFormat. See Format parameters. |