コード例 #1
0
        private string CheckLocaiton(string location)
        {
            PhotoSharingApplication1.net.cloudapp.thanigaivellocationservice.Service1 client = null;

            string response = "";

            try
            {
                client   = new net.cloudapp.thanigaivellocationservice.Service1();
                response = client.Getlocation("India");
            }catch (Exception e)
            {
                response = "Error: " + e.Message;
            }

            return(response);
        }
コード例 #2
0
        private string CheckLocaiton(string location)
        {
            PhotoSharingApplication1.net.cloudapp.thanigaivellocationservice.Service1 client = null;

            string response = "";
            try
            {
                client = new net.cloudapp.thanigaivellocationservice.Service1();
                response = client.Getlocation("India");

            }catch(Exception e)
            {

                response = "Error: " + e.Message;
            }

            return response;
        }