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