public System.Threading.Tasks.Task <WebApplication1.ServiceReference1.SendWeiXinResponse> SendWeiXinAsync(string toOpenId, string templateName, string data, string url, string userId, string appId) { WebApplication1.ServiceReference1.SendWeiXinRequest inValue = new WebApplication1.ServiceReference1.SendWeiXinRequest(); inValue.Body = new WebApplication1.ServiceReference1.SendWeiXinRequestBody(); inValue.Body.toOpenId = toOpenId; inValue.Body.templateName = templateName; inValue.Body.data = data; inValue.Body.url = url; inValue.Body.userId = userId; inValue.Body.appId = appId; return(((WebApplication1.ServiceReference1.MessageSenderSoap)(this)).SendWeiXinAsync(inValue)); }
public string SendWeiXin(string toOpenId, string templateName, string data, string url, string userId, string appId) { WebApplication1.ServiceReference1.SendWeiXinRequest inValue = new WebApplication1.ServiceReference1.SendWeiXinRequest(); inValue.Body = new WebApplication1.ServiceReference1.SendWeiXinRequestBody(); inValue.Body.toOpenId = toOpenId; inValue.Body.templateName = templateName; inValue.Body.data = data; inValue.Body.url = url; inValue.Body.userId = userId; inValue.Body.appId = appId; WebApplication1.ServiceReference1.SendWeiXinResponse retVal = ((WebApplication1.ServiceReference1.MessageSenderSoap)(this)).SendWeiXin(inValue); return(retVal.Body.SendWeiXinResult); }
System.Threading.Tasks.Task <WebApplication1.ServiceReference1.SendWeiXinResponse> WebApplication1.ServiceReference1.MessageSenderSoap.SendWeiXinAsync(WebApplication1.ServiceReference1.SendWeiXinRequest request) { return(base.Channel.SendWeiXinAsync(request)); }
WebApplication1.ServiceReference1.SendWeiXinResponse WebApplication1.ServiceReference1.MessageSenderSoap.SendWeiXin(WebApplication1.ServiceReference1.SendWeiXinRequest request) { return(base.Channel.SendWeiXin(request)); }