Пример #1
0
 public System.Threading.Tasks.Task <Proxy.ServiceReference_exchangebook.LoginResponse> LoginAsync(string name, string pwd)
 {
     Proxy.ServiceReference_exchangebook.LoginRequest inValue = new Proxy.ServiceReference_exchangebook.LoginRequest();
     inValue.Body      = new Proxy.ServiceReference_exchangebook.LoginRequestBody();
     inValue.Body.name = name;
     inValue.Body.pwd  = pwd;
     return(((Proxy.ServiceReference_exchangebook.ExchangeBookServiceSoap)(this)).LoginAsync(inValue));
 }
Пример #2
0
 public string Login(string name, string pwd)
 {
     Proxy.ServiceReference_exchangebook.LoginRequest inValue = new Proxy.ServiceReference_exchangebook.LoginRequest();
     inValue.Body      = new Proxy.ServiceReference_exchangebook.LoginRequestBody();
     inValue.Body.name = name;
     inValue.Body.pwd  = pwd;
     Proxy.ServiceReference_exchangebook.LoginResponse retVal = ((Proxy.ServiceReference_exchangebook.ExchangeBookServiceSoap)(this)).Login(inValue);
     return(retVal.Body.LoginResult);
 }
Пример #3
0
 System.Threading.Tasks.Task <Proxy.ServiceReference_exchangebook.LoginResponse> Proxy.ServiceReference_exchangebook.ExchangeBookServiceSoap.LoginAsync(Proxy.ServiceReference_exchangebook.LoginRequest request)
 {
     return(base.Channel.LoginAsync(request));
 }
Пример #4
0
 Proxy.ServiceReference_exchangebook.LoginResponse Proxy.ServiceReference_exchangebook.ExchangeBookServiceSoap.Login(Proxy.ServiceReference_exchangebook.LoginRequest request)
 {
     return(base.Channel.Login(request));
 }