示例#1
0
 public System.Threading.Tasks.Task <EComWebFormsApp.ServiceReference1.ValidateResponse> ValidateAsync(string userName, string password)
 {
     EComWebFormsApp.ServiceReference1.ValidateRequest inValue = new EComWebFormsApp.ServiceReference1.ValidateRequest();
     inValue.Body          = new EComWebFormsApp.ServiceReference1.ValidateRequestBody();
     inValue.Body.userName = userName;
     inValue.Body.password = password;
     return(((EComWebFormsApp.ServiceReference1.HelloServiceSoap)(this)).ValidateAsync(inValue));
 }
示例#2
0
 public bool Validate(string userName, string password)
 {
     EComWebFormsApp.ServiceReference1.ValidateRequest inValue = new EComWebFormsApp.ServiceReference1.ValidateRequest();
     inValue.Body          = new EComWebFormsApp.ServiceReference1.ValidateRequestBody();
     inValue.Body.userName = userName;
     inValue.Body.password = password;
     EComWebFormsApp.ServiceReference1.ValidateResponse retVal = ((EComWebFormsApp.ServiceReference1.HelloServiceSoap)(this)).Validate(inValue);
     return(retVal.Body.ValidateResult);
 }
示例#3
0
 System.Threading.Tasks.Task <EComWebFormsApp.ServiceReference1.ValidateResponse> EComWebFormsApp.ServiceReference1.HelloServiceSoap.ValidateAsync(EComWebFormsApp.ServiceReference1.ValidateRequest request)
 {
     return(base.Channel.ValidateAsync(request));
 }
示例#4
0
 EComWebFormsApp.ServiceReference1.ValidateResponse EComWebFormsApp.ServiceReference1.HelloServiceSoap.Validate(EComWebFormsApp.ServiceReference1.ValidateRequest request)
 {
     return(base.Channel.Validate(request));
 }