Skip to content

Commit 5948cc4

Browse files
authored
Merge pull request #192404 from mike-urnun-msft/patch-25
(Azure CXP) correct attr names
2 parents af3ed2e + f783f8c commit 5948cc4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/azure-functions/functions-bindings-warmup.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,15 +191,15 @@ def main(warmupContext: func.Context) -> None:
191191
::: zone pivot="programming-language-csharp"
192192
## Attributes
193193

194-
Both [in-process](functions-dotnet-class-library.md) and [isolated process](dotnet-isolated-process-guide.md) C# libraries use the `WarmupTriggerAttribute` to define the function. C# script instead uses a *function.json* configuration file.
194+
Both [in-process](functions-dotnet-class-library.md) and [isolated process](dotnet-isolated-process-guide.md) C# libraries use the `WarmupTrigger` attribute to define the function. C# script instead uses a *function.json* configuration file.
195195

196196
# [In-process](#tab/in-process)
197197

198-
Use the `WarmupTriggerAttribute` to define the function. This attribute has no parameters.
198+
Use the `WarmupTrigger` attribute to define the function. This attribute has no parameters.
199199

200200
# [Isolated process](#tab/isolated-process)
201201

202-
Use the `WarmupTriggerAttribute` to define the function. This attribute has no parameters.
202+
Use the `WarmupTrigger` attribute to define the function. This attribute has no parameters.
203203

204204
# [C# script](#tab/csharp-script)
205205

@@ -244,14 +244,14 @@ The following considerations apply to using a warmup function in C#:
244244

245245
# [In-process](#tab/in-process)
246246

247-
- Your function must be named `warmup` (case-insensitive) using the `FunctionNameAttribute`.
247+
- Your function must be named `warmup` (case-insensitive) using the `FunctionName` attribute.
248248
- A return value attribute isn't required.
249249
- You must be using version `3.0.5` of the `Microsoft.Azure.WebJobs.Extensions` package, or a later version.
250250
- You can pass a `WarmupContext` instance to the function.
251251

252252
# [Isolated process](#tab/isolated-process)
253253

254-
- Your function must be named `warmup` (case-insensitive) using the `FunctionNameAttribute`.
254+
- Your function must be named `warmup` (case-insensitive) using the `FunctionName` attribute.
255255
- A return value attribute isn't required.
256256
- You can pass an object instance to the function.
257257

0 commit comments

Comments
 (0)