Message Queuing in C#

  • Thread starter Thread starter tiger
  • Start date Start date
T

tiger

Hi,

I have a question on MS Message queuing.

I would like to check a message queuing to see if there is a message in the
queue. That is if the queue is empty, I would like to send a note to a
textbox.

Thanks
Tiger
 
Hello Tiger,
I have a question on MS Message queuing.
I would like to check a message queuing to see if there is a message in
the
queue.

The is good information and examples available for this on the .NET SDK
documentation, and you may also find the following Microsoft Knowledge Base
article helpful:

How to write to and read from Microsoft Message Queuing in Visual C# .NET
http://support.microsoft.com/default.aspx?scid=kb;en-us;815811

To check whether there are messages in a queue, you can use the
MessageQueue.Peek method. Look this method up in the documentation and you
will find an example.

Hope this helps.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
(e-mail address removed)
http://www.saunalahti.fi/janij/
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top