Exemple #1
0
 public System.Threading.Tasks.Task <WebApplication1.ServiceReference1.SendWeiXinForTemplateResponse> SendWeiXinForTemplateAsync(string toOpenId, string templateName, string data, string url)
 {
     WebApplication1.ServiceReference1.SendWeiXinForTemplateRequest inValue = new WebApplication1.ServiceReference1.SendWeiXinForTemplateRequest();
     inValue.Body              = new WebApplication1.ServiceReference1.SendWeiXinForTemplateRequestBody();
     inValue.Body.toOpenId     = toOpenId;
     inValue.Body.templateName = templateName;
     inValue.Body.data         = data;
     inValue.Body.url          = url;
     return(((WebApplication1.ServiceReference1.MessageSenderSoap)(this)).SendWeiXinForTemplateAsync(inValue));
 }
Exemple #2
0
 public string SendWeiXinForTemplate(string toOpenId, string templateName, string data, string url)
 {
     WebApplication1.ServiceReference1.SendWeiXinForTemplateRequest inValue = new WebApplication1.ServiceReference1.SendWeiXinForTemplateRequest();
     inValue.Body              = new WebApplication1.ServiceReference1.SendWeiXinForTemplateRequestBody();
     inValue.Body.toOpenId     = toOpenId;
     inValue.Body.templateName = templateName;
     inValue.Body.data         = data;
     inValue.Body.url          = url;
     WebApplication1.ServiceReference1.SendWeiXinForTemplateResponse retVal = ((WebApplication1.ServiceReference1.MessageSenderSoap)(this)).SendWeiXinForTemplate(inValue);
     return(retVal.Body.SendWeiXinForTemplateResult);
 }
Exemple #3
0
 System.Threading.Tasks.Task <WebApplication1.ServiceReference1.SendWeiXinForTemplateResponse> WebApplication1.ServiceReference1.MessageSenderSoap.SendWeiXinForTemplateAsync(WebApplication1.ServiceReference1.SendWeiXinForTemplateRequest request)
 {
     return(base.Channel.SendWeiXinForTemplateAsync(request));
 }
Exemple #4
0
 WebApplication1.ServiceReference1.SendWeiXinForTemplateResponse WebApplication1.ServiceReference1.MessageSenderSoap.SendWeiXinForTemplate(WebApplication1.ServiceReference1.SendWeiXinForTemplateRequest request)
 {
     return(base.Channel.SendWeiXinForTemplate(request));
 }