static private CreateWorking ( QueueRecord queued, long workerId, long scheduleId, System.DateTime startedOn ) : |
||
queued | QueueRecord | The queued record to create the working record for. |
workerId | long | The ID of the worker to create the record for. |
scheduleId | long | The ID of the schedule to create the record for. |
startedOn | System.DateTime | The start date to create the record with. |
Résultat |
internal static WorkingRecord CreateWorking(QueueRecord queued, long workerId, long? scheduleId, DateTime startedOn)
{
return new WorkingRecord()
{
ApplicationName = queued.ApplicationName,
Data = queued.Data,
JobName = queued.JobName,
JobType = queued.JobType,
QueuedOn = queued.QueuedOn,
QueueName = queued.QueueName,
ScheduleId = scheduleId,
StartedOn = startedOn,
TryNumber = queued.TryNumber,
WorkerId = workerId
};
}