Skip to content

Commit f4ff7a0

Browse files
committed
add output binding
1 parent 88a05da commit f4ff7a0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/azure-functions/functions-bindings-service-bus-output.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,13 @@ This article supports both programming models.
4141

4242
# [Isolated worker model](#tab/isolated-process)
4343

44-
The following example shows a [C# function](dotnet-isolated-process-guide.md) that receives a Service Bus queue message, logs the message, and sends a message to different Service Bus queue:
44+
This code defines and initializes the `ILogger`:
4545

46+
:::code language="csharp" source="~/azure-functions-dotnet-worker/samples/Extensions/ServiceBus/ServiceBusReceivedMessageFunctions.cs" id="docsnippet_servicebusmessage_createlogger":::
4647

48+
This example shows a [C# function](dotnet-isolated-process-guide.md) that receives a message and writes it to a second queue:
49+
50+
:::code language="csharp" source="~/azure-functions-dotnet-worker/samples/Extensions/ServiceBus/ServiceBusReceivedMessageFunctions.cs" id="docsnippet_servicebus_readmessage":::
4751

4852
# [In-process model](#tab/in-process)
4953

0 commit comments

Comments
 (0)