Skip to content

Commit 2caea4d

Browse files
benperkggailey777
andauthored
Update articles/azure-functions/functions-dotnet-class-library.md
Co-authored-by: Glenn Gailey <[email protected]>
1 parent e824bdc commit 2caea4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-functions/functions-dotnet-class-library.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ You can't use `out` parameters in async functions. For output bindings, use the
295295

296296
A function can accept a [CancellationToken](/dotnet/api/system.threading.cancellationtoken) parameter, which enables the operating system to notify your code when the function is about to be terminated. You can use this notification to make sure the function doesn't terminate unexpectedly in a way that leaves data in an inconsistent state.
297297

298-
This is especially the case when you have functions that process messages in batch. Consider the following version 4 (~4) Service Bus triggered function. The default template for a Service Bus triggered Azure Function is rendered to accept a single message using this parameter: ```string myQueueItem```. By changing that single message parameter to an array like: ```Message[] messages```, results in the function receiving a batch of, or multiple, messages per function invocation.
298+
Consider the case when you have a function that process messages in batch. The following Service Bus triggered function processes an array of [Message](/dotnet/api/microsoft.azure.servicebus.message) objects, which represents a batch of incoming messages to be processed by a given function invocation:
299299

300300
```csharp
301301
using Microsoft.Azure.ServiceBus;

0 commit comments

Comments
 (0)