Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.IO;
- using Microsoft.Azure.WebJobs;
- namespace WebJob1
- {
- public class Functions
- {
- // This function will get triggered/executed when a new message is written
- // on an Azure Queue called queue.
- public static void ProcessQueueMessage([QueueTrigger("queue")] string message, TextWriter log)
- {
- log.WriteLine(message);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement