示例#1
0
 public System.Threading.Tasks.Task <ProcesSMSRegistration.WS_SendSMS.SendSmsResponse> SendSmsAsync(string userName, string password, string message, string recipients, string senderName, string senderNumber)
 {
     ProcesSMSRegistration.WS_SendSMS.SendSmsRequest inValue = new ProcesSMSRegistration.WS_SendSMS.SendSmsRequest();
     inValue.Body              = new ProcesSMSRegistration.WS_SendSMS.SendSmsRequestBody();
     inValue.Body.userName     = userName;
     inValue.Body.password     = password;
     inValue.Body.message      = message;
     inValue.Body.recipients   = recipients;
     inValue.Body.senderName   = senderName;
     inValue.Body.senderNumber = senderNumber;
     return(((ProcesSMSRegistration.WS_SendSMS.SendMessageSoap)(this)).SendSmsAsync(inValue));
 }
示例#2
0
 public string SendSms(string userName, string password, string message, string recipients, string senderName, string senderNumber)
 {
     ProcesSMSRegistration.WS_SendSMS.SendSmsRequest inValue = new ProcesSMSRegistration.WS_SendSMS.SendSmsRequest();
     inValue.Body              = new ProcesSMSRegistration.WS_SendSMS.SendSmsRequestBody();
     inValue.Body.userName     = userName;
     inValue.Body.password     = password;
     inValue.Body.message      = message;
     inValue.Body.recipients   = recipients;
     inValue.Body.senderName   = senderName;
     inValue.Body.senderNumber = senderNumber;
     ProcesSMSRegistration.WS_SendSMS.SendSmsResponse retVal = ((ProcesSMSRegistration.WS_SendSMS.SendMessageSoap)(this)).SendSms(inValue);
     return(retVal.Body.SendSmsResult);
 }
示例#3
0
 System.Threading.Tasks.Task <ProcesSMSRegistration.WS_SendSMS.SendSmsResponse> ProcesSMSRegistration.WS_SendSMS.SendMessageSoap.SendSmsAsync(ProcesSMSRegistration.WS_SendSMS.SendSmsRequest request)
 {
     return(base.Channel.SendSmsAsync(request));
 }
示例#4
0
 ProcesSMSRegistration.WS_SendSMS.SendSmsResponse ProcesSMSRegistration.WS_SendSMS.SendMessageSoap.SendSms(ProcesSMSRegistration.WS_SendSMS.SendSmsRequest request)
 {
     return(base.Channel.SendSms(request));
 }