Do you mean a message queue? If you want to create a public queue, then
you could probably use the static Create method on the MessageQueue class in
the System.Messaging namespace. I believe that you can specify the format
name in a manner which will indicate which remote machine to create the
public queue on.
However, if you want to create a private queue, you can not do that.
Private queues can only be created on the local machine, not remotely (check
the documentation for the MQCreateQueue API function).
I have already used formatname to create public queue at remote m/c but its
giving error as
@"Cannot create a queue with the path FormatNameIRECT=OS:MachineName\newq."
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.