コード例 #1
0
        protected override WorkState Do()
        {
            SuspendedJob             suspended = JobConductorService.Default.SuspendJob(Job);;
            WorkState <SuspendedJob> result    = new WorkState <SuspendedJob>(this, suspended);

            result.Status = Status.Suspended;
            return(result);
        }
コード例 #2
0
        protected override WorkState Do(WorkState currentWorkState)
        {
            SuspendedJob             suspended = JobConductorService.SuspendJob(Job);;
            WorkState <SuspendedJob> result    = new WorkState <SuspendedJob>(this, suspended)
            {
                Status = Status.Suspended
            };

            return(result);
        }
コード例 #3
0
        public SuspendedJob SuspendJob(Job job)
        {
            SuspendedJob suspended = new SuspendedJob(SuspendedJobIpcMessageStore, job);

            return(suspended);
        }