Slide 62
Slide 62 text
public static async Task Retries(DurableOrchestrationContext context)
{
await context.CallActivityAsync("BookConference", "Ignite Singapore");
var options = new RetryOptions(
firstRetryInterval: TimeSpan.FromMinutes(1),
maxNumberOfAttempts: 3);
options.BackoffCoefficient = 2.0;
await context.CallActivityWithRetryAsync("BookFlight", options, itinerary);
await context.CallActivityAsync("BookHotel", stay);
}