MSMQ

Discussion in 'ASP .Net' started by Guest, Nov 19, 2003.

  1. Guest

    Guest Guest

    How do I peek at a queue in c#? any code would help.

    Thanks in advance
    Guest, Nov 19, 2003
    #1
    1. Advertising

  2. Guest

    Bill Priess Guest

    using System.Messaging;

    MessageQueue mq = new MessageQueue(\\machine_name\\queuename);
    Message msg = mq.Peek();

    HTH,
    Bill P.



    ms-help://MS.VSCC.2003/MS.MSDNQTR.2003APR.1033/cpref/html/frlrfsystemmessagi
    ng.htm


    <> wrote in message
    news:...
    > How do I peek at a queue in c#? any code would help.
    >
    > Thanks in advance
    >
    >
    Bill Priess, Nov 19, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Vladik

    multicast in msmq 3.0

    Vladik, Sep 9, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    1,193
    Vladik
    Sep 9, 2003
  2. Laszlo Csabi

    MSMQ problem

    Laszlo Csabi, Jan 25, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    1,001
  3. Robert Rossney
    Replies:
    1
    Views:
    910
    netnews.microsoft.com
    Mar 1, 2005
  4. YiTian_Ken

    Help! How to use MSMQ in webForm?

    YiTian_Ken, Aug 8, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    305
    YiTian_Ken
    Aug 8, 2003
  5. Kevin Spencer
    Replies:
    1
    Views:
    485
    Kai Iske
    Aug 20, 2003
Loading...

Share This Page