Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 System.Threading.Tasks.Task <WebApplication1.ServiceReference1.SendWeiXinForTradeResponse> WebApplication1.ServiceReference1.MessageSenderSoap.SendWeiXinForTradeAsync(WebApplication1.ServiceReference1.SendWeiXinForTradeRequest request)
 {
     return(base.Channel.SendWeiXinForTradeAsync(request));
 }
Exemplo n.º 4
0
 WebApplication1.ServiceReference1.SendWeiXinForTradeResponse WebApplication1.ServiceReference1.MessageSenderSoap.SendWeiXinForTrade(WebApplication1.ServiceReference1.SendWeiXinForTradeRequest request)
 {
     return(base.Channel.SendWeiXinForTrade(request));
 }