public System.Threading.Tasks.Task <WebApplication1.ServiceReference1.SendSmsResponse> SendSmsAsync(string toMobile, string content, string userId, int appId) { WebApplication1.ServiceReference1.SendSmsRequest inValue = new WebApplication1.ServiceReference1.SendSmsRequest(); inValue.Body = new WebApplication1.ServiceReference1.SendSmsRequestBody(); inValue.Body.toMobile = toMobile; inValue.Body.content = content; inValue.Body.userId = userId; inValue.Body.appId = appId; return(((WebApplication1.ServiceReference1.MessageSenderSoap)(this)).SendSmsAsync(inValue)); }
public string SendSms(string toMobile, string content, string userId, int appId) { WebApplication1.ServiceReference1.SendSmsRequest inValue = new WebApplication1.ServiceReference1.SendSmsRequest(); inValue.Body = new WebApplication1.ServiceReference1.SendSmsRequestBody(); inValue.Body.toMobile = toMobile; inValue.Body.content = content; inValue.Body.userId = userId; inValue.Body.appId = appId; WebApplication1.ServiceReference1.SendSmsResponse retVal = ((WebApplication1.ServiceReference1.MessageSenderSoap)(this)).SendSms(inValue); return(retVal.Body.SendSmsResult); }
System.Threading.Tasks.Task <WebApplication1.ServiceReference1.SendSmsResponse> WebApplication1.ServiceReference1.MessageSenderSoap.SendSmsAsync(WebApplication1.ServiceReference1.SendSmsRequest request) { return(base.Channel.SendSmsAsync(request)); }
WebApplication1.ServiceReference1.SendSmsResponse WebApplication1.ServiceReference1.MessageSenderSoap.SendSms(WebApplication1.ServiceReference1.SendSmsRequest request) { return(base.Channel.SendSms(request)); }