Guest User

Untitled

a guest
Nov 21st, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. using System;
  2. using Microsoft.Azure.WebJobs;
  3. using Microsoft.Azure.WebJobs.Host;
  4. using Microsoft.Extensions.Logging;
  5.  
  6. namespace Vainolo.AzureFunctionsTutorial.Part7
  7. {
  8. public static class QueueTriggerCSharp
  9. {
  10. [FunctionName("QueueTriggerCSharp")]
  11. public static void Run([QueueTrigger("myqueue", Connection = "MyStorage")]string myQueueItem, ILogger log)
  12. {
  13. log.LogInformation($"C# Queue trigger function processed: {myQueueItem}");
  14. }
  15. }
  16. }
Add Comment
Please, Sign In to add comment