MicrosoftDocs / sandbox

Sandbox is a repo for content for employees to experiment, play with, and get feedback on new technology
https://docs.microsoft.com/sandbox
Creative Commons Attribution 4.0 International
21 stars 43 forks source link

ServiceBusTopicTrigger sample -> Method name should be "Run" instead of "RunTopic" #92

Open anilkugupta opened 6 years ago

anilkugupta commented 6 years ago

[FunctionName("ServiceBusTopicTrigger")] public static void RunTopic([ServiceBusTrigger("functopic", "sampletopic", AccessRights.Manage, Connection = "ConnectionSetting")]string topicMessage, TraceWriter log) { log.Info("101 Azure Function Demo - Service Bus Topic Trigger");

log.Info($"C# ServiceBus topic trigger function processed message: {topicMessage}");

}


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.