MessageQueue.Create : MessageQueue : Web Services C# Source Code


Custom Search

C# Source Code » Web Services » MessageQueue »

 

MessageQueue.Create








    
 
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();
    }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Web Services
» MessageQueue