Skip to content

Commit 0390433

Browse files
authored
Merge pull request #103492 from mike-urnun-msft/patch-109
(AzureCXP) fixes samples
2 parents b89120e + aa0d8af commit 0390433

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-functions/durable/durable-functions-error-handling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ For example, consider the following orchestrator function that transfers funds f
2222
[FunctionName("TransferFunds")]
2323
public static async Task Run([OrchestrationTrigger] IDurableOrchestrationContext context)
2424
{
25-
var transferDetails = ctx.GetInput<TransferOperation>();
25+
var transferDetails = context.GetInput<TransferOperation>();
2626

2727
await context.CallActivityAsync("DebitAccount",
2828
new
@@ -111,7 +111,7 @@ public static async Task Run([OrchestrationTrigger] IDurableOrchestrationContext
111111
firstRetryInterval: TimeSpan.FromSeconds(5),
112112
maxNumberOfAttempts: 3);
113113

114-
await ctx.CallActivityWithRetryAsync("FlakyFunction", retryOptions, null);
114+
await context.CallActivityWithRetryAsync("FlakyFunction", retryOptions, null);
115115

116116
// ...
117117
}

0 commit comments

Comments
 (0)