Пример #1
0
 public System.Threading.Tasks.Task <SMSProcess.ServiceVP.SendMTResponse> SendMTAsync(string src, string dest, string msgbody, string requestid, string username, string password)
 {
     SMSProcess.ServiceVP.SendMTRequest inValue = new SMSProcess.ServiceVP.SendMTRequest();
     inValue.Body           = new SMSProcess.ServiceVP.SendMTRequestBody();
     inValue.Body.src       = src;
     inValue.Body.dest      = dest;
     inValue.Body.msgbody   = msgbody;
     inValue.Body.requestid = requestid;
     inValue.Body.username  = username;
     inValue.Body.password  = password;
     return(((SMSProcess.ServiceVP.GatewaySoap)(this)).SendMTAsync(inValue));
 }
Пример #2
0
 public int SendMT(string src, string dest, string msgbody, string requestid, string username, string password)
 {
     SMSProcess.ServiceVP.SendMTRequest inValue = new SMSProcess.ServiceVP.SendMTRequest();
     inValue.Body           = new SMSProcess.ServiceVP.SendMTRequestBody();
     inValue.Body.src       = src;
     inValue.Body.dest      = dest;
     inValue.Body.msgbody   = msgbody;
     inValue.Body.requestid = requestid;
     inValue.Body.username  = username;
     inValue.Body.password  = password;
     SMSProcess.ServiceVP.SendMTResponse retVal = ((SMSProcess.ServiceVP.GatewaySoap)(this)).SendMT(inValue);
     return(retVal.Body.SendMTResult);
 }
Пример #3
0
 System.Threading.Tasks.Task <SMSProcess.ServiceVP.SendMTResponse> SMSProcess.ServiceVP.GatewaySoap.SendMTAsync(SMSProcess.ServiceVP.SendMTRequest request)
 {
     return(base.Channel.SendMTAsync(request));
 }
Пример #4
0
 SMSProcess.ServiceVP.SendMTResponse SMSProcess.ServiceVP.GatewaySoap.SendMT(SMSProcess.ServiceVP.SendMTRequest request)
 {
     return(base.Channel.SendMT(request));
 }