Advertisement
Guest User

Untitled

a guest
May 3rd, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. using System.IO;
  2. using Microsoft.Azure.WebJobs;
  3.  
  4. namespace WebJob1
  5. {
  6. public class Functions
  7. {
  8. // This function will get triggered/executed when a new message is written
  9. // on an Azure Queue called queue.
  10. public static void ProcessQueueMessage([QueueTrigger("queue")] string message, TextWriter log)
  11. {
  12. log.WriteLine(message);
  13. }
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement