Пример #1
0
        public ExecuteResponse Run()
        {
            logger.LogInformation("Run wpsjob");
            Task.Start();
            progress.Report(new StatusType()
            {
                Item = new ProcessStartedType()
                {
                    Value = "Task Started", percentCompleted = "0"
                },
                ItemElementName = ItemChoiceType.ProcessStarted,
                creationTime    = this.creationTime
            });
            Thread.Sleep(2000);

            return(GetExecuteResponse());
        }