예제 #1
0
 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));
 }
예제 #2
0
 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);
 }
예제 #3
0
 System.Threading.Tasks.Task <WindowsFormsApplication1.ServiceReference1.SendSmsResponse> WindowsFormsApplication1.ServiceReference1.MessageSenderSoap.SendSmsAsync(WindowsFormsApplication1.ServiceReference1.SendSmsRequest request)
 {
     return(base.Channel.SendSmsAsync(request));
 }
예제 #4
0
 WindowsFormsApplication1.ServiceReference1.SendSmsResponse WindowsFormsApplication1.ServiceReference1.MessageSenderSoap.SendSms(WindowsFormsApplication1.ServiceReference1.SendSmsRequest request)
 {
     return(base.Channel.SendSms(request));
 }