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."); }
public override void StartModule(ICodeModuleStartInfo startInfo) { //Do Nothing }
public override void StartModule(ICodeModuleStartInfo startInfo) { startInfo.Trace("Module Started"); }