Created
September 13, 2023 00:29
-
-
Save xximjasonxx/583da5d5a670dc92952df03fde833d3e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ServiceBusQueueTrigger | |
{ | |
[FunctionName("ServiceBusQueueTrigger")] | |
public void Run( | |
[ServiceBusTrigger(queueName: "%QueueName%", Connection = "ServiceBusConnection")]string myQueueItem, | |
ILogger log) | |
{ | |
log.LogInformation($"C# ServiceBus queue trigger function processed message: {myQueueItem}"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment