MessageQueue.Create

image_pdfimage_print
   
 
using System;
using System.Messaging;



class Program {
    static void Main(string[] args) {
        using (MessageQueue queue = MessageQueue.Create(@".MyNewPublicQueue")) {
            Console.WriteLine("Queue created:");
            Console.WriteLine("Path: {0}", queue.Path);
            Console.WriteLine("FormatName: {0}", queue.FormatName);
        }
        Console.ReadLine();
    }
}

    


This entry was posted in Web Services. Bookmark the permalink.