使用C#读取远程的MSMQ报错: public static void readMessage()
        {            
            MessageQueue mq = new MessageQueue();  
            mq.Formatter = new ActiveXMessageFormatter();         
            mq.Path = @"FormatName:DIRECT=TCP:192.168.100.2\private$\test";            //读取队列中的所有消息            
            Message[] msgs = mq.GetAllMessages();
             foreach (Message m in msgs)
             {
                 
                 String msg = m.Body.ToString();
                
             }
             Console.ReadLine();
             
        }报:无法反序列化作为参数传递的消息。无法识别序列化格式。
其中客户端和服务端都按照了MSMQ