public System.Threading.Tasks.Task <WebApplication1.ServiceReference1.SendWeiXinForTradeResponse> SendWeiXinForTradeAsync(string toOpenId, string data, string url, string userId, int appId) { WebApplication1.ServiceReference1.SendWeiXinForTradeRequest inValue = new WebApplication1.ServiceReference1.SendWeiXinForTradeRequest(); inValue.Body = new WebApplication1.ServiceReference1.SendWeiXinForTradeRequestBody(); inValue.Body.toOpenId = toOpenId; inValue.Body.data = data; inValue.Body.url = url; inValue.Body.userId = userId; inValue.Body.appId = appId; return(((WebApplication1.ServiceReference1.MessageSenderSoap)(this)).SendWeiXinForTradeAsync(inValue)); }
public string SendWeiXinForTrade(string toOpenId, string data, string url, string userId, int appId) { WebApplication1.ServiceReference1.SendWeiXinForTradeRequest inValue = new WebApplication1.ServiceReference1.SendWeiXinForTradeRequest(); inValue.Body = new WebApplication1.ServiceReference1.SendWeiXinForTradeRequestBody(); inValue.Body.toOpenId = toOpenId; inValue.Body.data = data; inValue.Body.url = url; inValue.Body.userId = userId; inValue.Body.appId = appId; WebApplication1.ServiceReference1.SendWeiXinForTradeResponse retVal = ((WebApplication1.ServiceReference1.MessageSenderSoap)(this)).SendWeiXinForTrade(inValue); return(retVal.Body.SendWeiXinForTradeResult); }
System.Threading.Tasks.Task <WebApplication1.ServiceReference1.SendWeiXinForTradeResponse> WebApplication1.ServiceReference1.MessageSenderSoap.SendWeiXinForTradeAsync(WebApplication1.ServiceReference1.SendWeiXinForTradeRequest request) { return(base.Channel.SendWeiXinForTradeAsync(request)); }
WebApplication1.ServiceReference1.SendWeiXinForTradeResponse WebApplication1.ServiceReference1.MessageSenderSoap.SendWeiXinForTrade(WebApplication1.ServiceReference1.SendWeiXinForTradeRequest request) { return(base.Channel.SendWeiXinForTrade(request)); }