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)); }
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); }
System.Threading.Tasks.Task <WebApplication1.ServiceReference1.SendWeiXinForTemplateResponse> WebApplication1.ServiceReference1.MessageSenderSoap.SendWeiXinForTemplateAsync(WebApplication1.ServiceReference1.SendWeiXinForTemplateRequest request) { return(base.Channel.SendWeiXinForTemplateAsync(request)); }
WebApplication1.ServiceReference1.SendWeiXinForTemplateResponse WebApplication1.ServiceReference1.MessageSenderSoap.SendWeiXinForTemplate(WebApplication1.ServiceReference1.SendWeiXinForTemplateRequest request) { return(base.Channel.SendWeiXinForTemplate(request)); }