B
b5e
Sample:
System.Messaging.MessageQueue mq = new
System.Messaging.MessageQueue(@"FormatNameIRECT=OS:B\private$\hello");
mq.Send("hello");
string s = mq.Receive().Body.ToString();//error,why?
MessageBox.Show(s);
Two PC A,B installed MSMQ
1.A want to send message to B,suppose B already has private queue
"hello",send is success,but receive is not correct,why?How to Receive
message from B in matchine A?
2.If A hasn't installed MSMQ.How to send message to B from A,and Receive
message from B?
System.Messaging.MessageQueue mq = new
System.Messaging.MessageQueue(@"FormatNameIRECT=OS:B\private$\hello");
mq.Send("hello");
string s = mq.Receive().Body.ToString();//error,why?
MessageBox.Show(s);
Two PC A,B installed MSMQ
1.A want to send message to B,suppose B already has private queue
"hello",send is success,but receive is not correct,why?How to Receive
message from B in matchine A?
2.If A hasn't installed MSMQ.How to send message to B from A,and Receive
message from B?