From 34572a9e840f72784ba29cd46eeea912a70f43e9 Mon Sep 17 00:00:00 2001 From: Jamie Date: Tue, 12 Mar 2019 15:04:16 +0000 Subject: [PATCH] Updated the ServiceBus trigger from RunTopic to Run #92 --- sandbox/functions-recipes/includes/service-bus-trigger.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sandbox/functions-recipes/includes/service-bus-trigger.md b/sandbox/functions-recipes/includes/service-bus-trigger.md index b38e8100..2c096b0d 100644 --- a/sandbox/functions-recipes/includes/service-bus-trigger.md +++ b/sandbox/functions-recipes/includes/service-bus-trigger.md @@ -16,7 +16,7 @@ Using the `ServiceBusTrigger` attribute, you can supply the queue or topic name, Topic Trigger ```csharp [FunctionName("ServiceBusTopicTrigger")] -public static void RunTopic([ServiceBusTrigger("functopic", "sampletopic", AccessRights.Manage, Connection = "ConnectionSetting")]string topicMessage, +public static void Run([ServiceBusTrigger("functopic", "sampletopic", AccessRights.Manage, Connection = "ConnectionSetting")]string topicMessage, TraceWriter log) { log.Info("101 Azure Function Demo - Service Bus Topic Trigger"); @@ -33,4 +33,4 @@ public static void RunTopic([ServiceBusTrigger("functopic", "sampletopic", Acces [!include[](../includes/read-more-heading.md)] * [Azure Functions Service Bus bindings](https://docs.microsoft.com/azure/azure-functions/functions-bindings-service-bus) * [Service Bus Messaging documentation](https://docs.microsoft.com/azure/service-bus-messaging/) -* [Service Bus client samples](https://github.com/Azure/azure-service-bus/tree/master/samples) \ No newline at end of file +* [Service Bus client samples](https://github.com/Azure/azure-service-bus/tree/master/samples)