Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using Microsoft.Azure.WebJobs;
- using Microsoft.Azure.WebJobs.Host;
- using Microsoft.Extensions.Logging;
- namespace Vainolo.AzureFunctionsTutorial.Part7
- {
- public static class QueueTriggerCSharp
- {
- [FunctionName("QueueTriggerCSharp")]
- public static void Run([QueueTrigger("myqueue", Connection = "MyStorage")]string myQueueItem, ILogger log)
- {
- log.LogInformation($"C# Queue trigger function processed: {myQueueItem}");
- }
- }
- }
Add Comment
Please, Sign In to add comment