Skip to content

Instantly share code, notes, and snippets.

@ry8806
Created May 3, 2016 14:08
Show Gist options
  • Save ry8806/1bd7b93179927253238fc687a91da48f to your computer and use it in GitHub Desktop.
Save ry8806/1bd7b93179927253238fc687a91da48f to your computer and use it in GitHub Desktop.
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);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment