Skip to content

Commit aa0d8af

Browse files
authored
(AzureCXP) fixes samples
resolves MicrosoftDocs/azure-docs#47057
1 parent b89120e commit aa0d8af

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)