for this purpose in the endpoint address u need to specify message queue address like
net.msmq://machinename/private/anup
anup is nothing but a queue name.
One more thing u check whether u created the Message queue or not by Using this method
if (!MessageQueue.Exists(queuename))
{
MessageQueue.Create(queuename);
}
if (!MessageQueue.Exists(queuename))
{
MessageQueue.Create(queuename);
}
This Message queue will come under System.Messaging Namespace.
Remember to click “Mark as Answer” on the post, if it helps you. Because It helps others to find the solution.
Anup Hosur
HP
http://anup-anuphosur.blogspot.com/