Пример #1
0
        public override void StartModule(ICodeModuleStartInfo startInfo)
        {
            _startInfo = startInfo;

            //---------------------------------------------------------------------------------------------------------
            // You can see trace information when you pass the the trace flag on the command-line to the .NET Code Module.
            // For example: CodeClient.exe -trace:c:\temp\mylog.txt.
            // When the -trace flag is not used, then the Trace() call does nothing.
            //
            // You can use the sc.exe utility with the, config binPath= , option to modify an existing Windows service
            // command-line.
            //---------------------------------------------------------------------------------------------------------
            _startInfo.Trace("Jpeg Compression Module Started - StartModule called.");
        }
Пример #2
0
 public override void StartModule(ICodeModuleStartInfo startInfo)
 {
     //Do Nothing
 }
Пример #3
0
 public override void StartModule(ICodeModuleStartInfo startInfo)
 {
     startInfo.Trace("Module Started");
 }