A simple example defining a Function that gets triggered by a Queue message:
public static void StringMessage([QueueTrigger("my_queue")] string plainText)
{
//...
}
It also supports POCO serialization:
public static void POCOMessage([QueueTrigger("my_queue")] MyPOCOClass aMessage)
{
//...
}