示例#1
0
        public override void Start()
        {
            Platform.Log(LogLevel.Info, string.Format(ClearCanvas.Common.SR.ShredStarting, this.GetDisplayName()));

            try
            {
                _service = new UsageTrackingService();
                _service.Start();
            }
            catch (Exception e)
            {
                Platform.Log(LogLevel.Fatal, e, "Unexpected exception starting {0}", GetDisplayName());
            }
        }
        public override void Start()
        {
            Platform.Log(LogLevel.Info, string.Format(ClearCanvas.Common.SR.ShredStarting, this.GetDisplayName()));

            try
            {
                _service = new UsageTrackingService();
                _service.Start();
            }
            catch (Exception e)
            {
                Platform.Log(LogLevel.Fatal, e, "Unexpected exception starting {0}", GetDisplayName());
            }
        }