예제 #1
0
 public System.Threading.Tasks.Task <WCF_Service_application.ServiceReference1.sayHelloResponse> sayHelloAsync(string name)
 {
     WCF_Service_application.ServiceReference1.sayHelloRequest inValue = new WCF_Service_application.ServiceReference1.sayHelloRequest();
     inValue.Body      = new WCF_Service_application.ServiceReference1.sayHelloRequestBody();
     inValue.Body.name = name;
     return(((WCF_Service_application.ServiceReference1.test_webserviceSoap)(this)).sayHelloAsync(inValue));
 }
예제 #2
0
 public string sayHello(string name)
 {
     WCF_Service_application.ServiceReference1.sayHelloRequest inValue = new WCF_Service_application.ServiceReference1.sayHelloRequest();
     inValue.Body      = new WCF_Service_application.ServiceReference1.sayHelloRequestBody();
     inValue.Body.name = name;
     WCF_Service_application.ServiceReference1.sayHelloResponse retVal = ((WCF_Service_application.ServiceReference1.test_webserviceSoap)(this)).sayHello(inValue);
     return(retVal.Body.sayHelloResult);
 }
예제 #3
0
 System.Threading.Tasks.Task <WCF_Service_application.ServiceReference1.sayHelloResponse> WCF_Service_application.ServiceReference1.test_webserviceSoap.sayHelloAsync(WCF_Service_application.ServiceReference1.sayHelloRequest request)
 {
     return(base.Channel.sayHelloAsync(request));
 }
예제 #4
0
 WCF_Service_application.ServiceReference1.sayHelloResponse WCF_Service_application.ServiceReference1.test_webserviceSoap.sayHello(WCF_Service_application.ServiceReference1.sayHelloRequest request)
 {
     return(base.Channel.sayHello(request));
 }