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)