Пример #1
0
        private static wcfservicewebrole.testmessage insertmessagequeue(wcfservicewebrole.Service1Client client, wcfservicewebrole.testmessage testmessage)
        {
            testmessage.header = "mytestheader";
            testmessage.body   = "testmessagebody";

            var resultinsert = client.senttestmessagetoqueue(testmessage);

            return(resultinsert);
        }
Пример #2
0
        static void Main(string[] args)
        {
            wcfservicewebrole.Service1Client client      = new wcfservicewebrole.Service1Client();
            wcfservicewebrole.testmessage    testmessage = new wcfservicewebrole.testmessage();



            var msg = insertmessagequeue(client, testmessage);
        }