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