コード例 #1
0
 public System.Threading.Tasks.Task <TestConsole.ServiceReference2.CheckStudentResponse> CheckStudentAsync(string name, string pwd)
 {
     TestConsole.ServiceReference2.CheckStudentRequest inValue = new TestConsole.ServiceReference2.CheckStudentRequest();
     inValue.Body      = new TestConsole.ServiceReference2.CheckStudentRequestBody();
     inValue.Body.name = name;
     inValue.Body.pwd  = pwd;
     return(((TestConsole.ServiceReference2.WebService1Soap)(this)).CheckStudentAsync(inValue));
 }
コード例 #2
0
 public bool CheckStudent(string name, string pwd)
 {
     TestConsole.ServiceReference2.CheckStudentRequest inValue = new TestConsole.ServiceReference2.CheckStudentRequest();
     inValue.Body      = new TestConsole.ServiceReference2.CheckStudentRequestBody();
     inValue.Body.name = name;
     inValue.Body.pwd  = pwd;
     TestConsole.ServiceReference2.CheckStudentResponse retVal = ((TestConsole.ServiceReference2.WebService1Soap)(this)).CheckStudent(inValue);
     return(retVal.Body.CheckStudentResult);
 }
コード例 #3
0
 System.Threading.Tasks.Task <TestConsole.ServiceReference2.CheckStudentResponse> TestConsole.ServiceReference2.WebService1Soap.CheckStudentAsync(TestConsole.ServiceReference2.CheckStudentRequest request)
 {
     return(base.Channel.CheckStudentAsync(request));
 }
コード例 #4
0
 TestConsole.ServiceReference2.CheckStudentResponse TestConsole.ServiceReference2.WebService1Soap.CheckStudent(TestConsole.ServiceReference2.CheckStudentRequest request)
 {
     return(base.Channel.CheckStudent(request));
 }