public System.Threading.Tasks.Task <WindowsFormsApp1.ServiceReference1.WsAcessoResponse> WsAcessoAsync(string usuario, string senha) { WindowsFormsApp1.ServiceReference1.WsAcessoRequest inValue = new WindowsFormsApp1.ServiceReference1.WsAcessoRequest(); inValue.Body = new WindowsFormsApp1.ServiceReference1.WsAcessoRequestBody(); inValue.Body.usuario = usuario; inValue.Body.senha = senha; return(((WindowsFormsApp1.ServiceReference1.WsSoap)(this)).WsAcessoAsync(inValue)); }
public string WsAcesso(string usuario, string senha) { WindowsFormsApp1.ServiceReference1.WsAcessoRequest inValue = new WindowsFormsApp1.ServiceReference1.WsAcessoRequest(); inValue.Body = new WindowsFormsApp1.ServiceReference1.WsAcessoRequestBody(); inValue.Body.usuario = usuario; inValue.Body.senha = senha; WindowsFormsApp1.ServiceReference1.WsAcessoResponse retVal = ((WindowsFormsApp1.ServiceReference1.WsSoap)(this)).WsAcesso(inValue); return(retVal.Body.WsAcessoResult); }
System.Threading.Tasks.Task <WindowsFormsApp1.ServiceReference1.WsAcessoResponse> WindowsFormsApp1.ServiceReference1.WsSoap.WsAcessoAsync(WindowsFormsApp1.ServiceReference1.WsAcessoRequest request) { return(base.Channel.WsAcessoAsync(request)); }
WindowsFormsApp1.ServiceReference1.WsAcessoResponse WindowsFormsApp1.ServiceReference1.WsSoap.WsAcesso(WindowsFormsApp1.ServiceReference1.WsAcessoRequest request) { return(base.Channel.WsAcesso(request)); }