protected override void ExecuteCore() { base.ExecuteCore(); try { TargetObject.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(TargetObject_PropertyChanged); TargetObject.Execute(); } catch (Exception ex) { GisEditor.LoggerManager.Log(LoggerLevel.Debug, ex.Message, new ExceptionInfo(ex)); } finally { State = BatchTaskState.Finished; } }