Azure WebJob QueueTrigger Retry Policy
问题 I would like to have my queue retry failed webjobs every 90 minutes and only for 3 attempts. When creating the queue i use the following code CloudQueueClient queueClient = storageAccount.CreateCloudQueueClient(); IRetryPolicy linearRetryPolicy = new LinearRetry(TimeSpan.FromSeconds(5400), 3); queueClient.DefaultRequestOptions.RetryPolicy = linearRetryPolicy; triggerformqueue = queueClient.GetQueueReference("triggerformqueue"); triggerformqueue.CreateIfNotExists(); However when simulating a