Exemple #1
0
    public void enviarmensaje()
    {
        string queueName  = "MyQueue";
        string message    = "Hola Mundo.";
        long   expiryTime = 10000;

        queueService = sp.BuildQueueService();
        queueService.SendMessage(queueName, message, expiryTime, MessageBack);
    }
Exemple #2
0
    void OnMouseUpAsButton()
    {
        string queueName        = "MyQueue";
        string queueDescription = "Cola para turnos de partida.";

        queueService = sp.BuildQueueService();
        queueService.CreatePullQueue(queueName, queueDescription, MessageBack);
    }
Exemple #3
0
    void OnMouseUpAsButton()
    {
        string queueName      = "MyQueue";
        long   receiveTimeOut = 10000;

        queueService = sp.BuildQueueService();
        queueService.ReceiveMessage(queueName, receiveTimeOut, MessageBack);
    }
Exemple #4
0
    void OnMouseUpAsButton()
    {
        string queueName  = "MyQueue";
        string message    = "Hola Mundo.";
        long   expiryTime = long.MaxValue;

        queueService = sp.BuildQueueService();
        queueService.SendMessage(queueName, message, expiryTime, MessageBack);
    }