Ejemplo n.º 1
0
        public WorkAssignment(WorkRequest workRequest, RoleSlotToken roleSlotToken,
                              int jobId, int scheduleRunDuration, string scheduleCreatedBy, long notificationId, string frequency)
        {
            WorkRequest   = workRequest;
            RoleSlotToken = roleSlotToken;

            WorkerBadge = new WorkerBadge(this);

            // Information required to start classic jobs
            JobId = jobId;
            ScheduleRunDuration = scheduleRunDuration;
            ScheduleCreatedBy   = scheduleCreatedBy;
            NotificationId      = notificationId;
            Frequency           = frequency;
        }
Ejemplo n.º 2
0
        public WorkAssignment(WorkRequest workRequest, RoleSlotToken roleSlotToken, 
            int jobId, int scheduleRunDuration, string scheduleCreatedBy, long notificationId, string frequency)
        {
            WorkRequest = workRequest;
            RoleSlotToken = roleSlotToken;

            WorkerBadge = new WorkerBadge(this);

            // Information required to start classic jobs
            JobId = jobId;
            ScheduleRunDuration = scheduleRunDuration;
            ScheduleCreatedBy = scheduleCreatedBy;
            NotificationId = notificationId;
            Frequency = frequency;
        }