You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
195
195
196
196
# [In-process](#tab/in-process)
197
197
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.
199
199
200
200
# [Isolated process](#tab/isolated-process)
201
201
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.
203
203
204
204
# [C# script](#tab/csharp-script)
205
205
@@ -244,14 +244,14 @@ The following considerations apply to using a warmup function in C#:
244
244
245
245
# [In-process](#tab/in-process)
246
246
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.
248
248
- A return value attribute isn't required.
249
249
- You must be using version `3.0.5` of the `Microsoft.Azure.WebJobs.Extensions` package, or a later version.
250
250
- You can pass a `WarmupContext` instance to the function.
251
251
252
252
# [Isolated process](#tab/isolated-process)
253
253
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.
255
255
- A return value attribute isn't required.
256
256
- You can pass an object instance to the function.
0 commit comments