Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > MSMQ

Reply
 
 
Guest
Posts: n/a
 
      11-19-2003
How do I peek at a queue in c#? any code would help.

Thanks in advance


 
Reply With Quote
 
 
 
 
Bill Priess
Guest
Posts: n/a
 
      11-19-2003
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


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> How do I peek at a queue in c#? any code would help.
>
> Thanks in advance
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I forward MSMQ messages to a web service? Robert Rossney ASP .Net 1 03-01-2005 03:41 AM
MSMQ problem Laszlo Csabi ASP .Net 1 01-27-2005 03:41 AM
Using MSMQ in different Domains =?Utf-8?B?R29raGFuIENhbg==?= MCSE 0 02-09-2004 04:11 PM
Q) Application Desgin: MSMQ, ADO in VB6 Ramie MCSD 4 11-03-2003 02:42 PM
multicast in msmq 3.0 Vladik ASP .Net 0 09-09-2003 11:42 AM



Advertisments