예제 #1
0
 public System.Threading.Tasks.Task <WebApplication1.ServiceReference1.ContactoResponse> ContactoAsync(string Nombre, string Email, long Telefono, string Asunto, string Mensaje)
 {
     WebApplication1.ServiceReference1.ContactoRequest inValue = new WebApplication1.ServiceReference1.ContactoRequest();
     inValue.Body          = new WebApplication1.ServiceReference1.ContactoRequestBody();
     inValue.Body.Nombre   = Nombre;
     inValue.Body.Email    = Email;
     inValue.Body.Telefono = Telefono;
     inValue.Body.Asunto   = Asunto;
     inValue.Body.Mensaje  = Mensaje;
     return(((WebApplication1.ServiceReference1.WebService1Soap)(this)).ContactoAsync(inValue));
 }
예제 #2
0
 public string Contacto(string Nombre, string Email, long Telefono, string Asunto, string Mensaje)
 {
     WebApplication1.ServiceReference1.ContactoRequest inValue = new WebApplication1.ServiceReference1.ContactoRequest();
     inValue.Body          = new WebApplication1.ServiceReference1.ContactoRequestBody();
     inValue.Body.Nombre   = Nombre;
     inValue.Body.Email    = Email;
     inValue.Body.Telefono = Telefono;
     inValue.Body.Asunto   = Asunto;
     inValue.Body.Mensaje  = Mensaje;
     WebApplication1.ServiceReference1.ContactoResponse retVal = ((WebApplication1.ServiceReference1.WebService1Soap)(this)).Contacto(inValue);
     return(retVal.Body.ContactoResult);
 }
예제 #3
0
 System.Threading.Tasks.Task <WebApplication1.ServiceReference1.ContactoResponse> WebApplication1.ServiceReference1.WebService1Soap.ContactoAsync(WebApplication1.ServiceReference1.ContactoRequest request)
 {
     return(base.Channel.ContactoAsync(request));
 }
예제 #4
0
 WebApplication1.ServiceReference1.ContactoResponse WebApplication1.ServiceReference1.WebService1Soap.Contacto(WebApplication1.ServiceReference1.ContactoRequest request)
 {
     return(base.Channel.Contacto(request));
 }