To create a custom BRS extension, you create a class that inherits from IBackgroundRuntimeServiceExecutable,IDisposable, and include one public execute method (public voice Execute()).
The execute method is invoked according to the interval you specify in the config file.
Add a reference to the PNMsoft.Sequence.WindowsServices DLL, and the following using statement:
using PNMsoft.Sequence.WindowsServices.BRS.Customization
You must add the DLL to the GAC, and reference it in the customAssemblies section of the BRS config file, for example:
<customAssemblies> <assemblies> <add type="CustomAssemblyNamespace.CustomAssemblyClass, CustomAssemblyName, Version=1.0.0.0, Culture=neutral, PublicKeyToken=602b6cd67576ca81" interval="40000" /> </assemblies> </customAssemblies>
You need to restart the BRS.