MessageQueue Programming Architecture

   

When you add an instance of the MessageQueue component to your form or designer, the references and import statements you need to access these namespaces and classes are automatically created. However, if you are creating your MessageQueue components in code, you might need to create a reference to System.Messaging and add a statement to your project importing (in Visual Basic) or using (in C#) that namespace.

You can use the following methods to interact with an instance of the MessageQueue component:

Method

Function

Create

To create a new message queue using the path you specify.

Delete

To delete an existing queue.

Exists

To see whether a particular message queue exists.

GetPublicQueues

To locate message queues in your Message Queuing network.

Peek or BeginPeek

To look at messages in a particular queue without removing the messages from the queue.

Receive and BeginReceive

To retrieve the message at the front of the specified queue and remove it from the queue.

Send

To send a message to the specified queue.

   


Special Edition Using ASP. NET
Special Edition Using ASP.Net
ISBN: 0789725606
EAN: 2147483647
Year: 2002
Pages: 233

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net