static private CreateQueueRetry ( |
||
working | The working record to create the queue record from. | |
return | QueueRecord |
internal static QueueRecord CreateQueueRetry(WorkingRecord working)
{
return new QueueRecord()
{
ApplicationName = working.ApplicationName,
Data = working.Data,
JobName = working.JobName,
JobType = working.JobType,
QueuedOn = DateTime.UtcNow,
QueueName = working.QueueName,
ScheduleId = working.ScheduleId,
TryNumber = working.TryNumber + 1
};
}