예제 #1
0
 public System.Threading.Tasks.Task <WindowsFormsApplication1.ServiceReference1.SendWeiXinForTradeResponse> SendWeiXinForTradeAsync(string toOpenId, string data, string url, string userId, int appId)
 {
     WindowsFormsApplication1.ServiceReference1.SendWeiXinForTradeRequest inValue = new WindowsFormsApplication1.ServiceReference1.SendWeiXinForTradeRequest();
     inValue.Body          = new WindowsFormsApplication1.ServiceReference1.SendWeiXinForTradeRequestBody();
     inValue.Body.toOpenId = toOpenId;
     inValue.Body.data     = data;
     inValue.Body.url      = url;
     inValue.Body.userId   = userId;
     inValue.Body.appId    = appId;
     return(((WindowsFormsApplication1.ServiceReference1.MessageSenderSoap)(this)).SendWeiXinForTradeAsync(inValue));
 }
예제 #2
0
 public string SendWeiXinForTrade(string toOpenId, string data, string url, string userId, int appId)
 {
     WindowsFormsApplication1.ServiceReference1.SendWeiXinForTradeRequest inValue = new WindowsFormsApplication1.ServiceReference1.SendWeiXinForTradeRequest();
     inValue.Body          = new WindowsFormsApplication1.ServiceReference1.SendWeiXinForTradeRequestBody();
     inValue.Body.toOpenId = toOpenId;
     inValue.Body.data     = data;
     inValue.Body.url      = url;
     inValue.Body.userId   = userId;
     inValue.Body.appId    = appId;
     WindowsFormsApplication1.ServiceReference1.SendWeiXinForTradeResponse retVal = ((WindowsFormsApplication1.ServiceReference1.MessageSenderSoap)(this)).SendWeiXinForTrade(inValue);
     return(retVal.Body.SendWeiXinForTradeResult);
 }
예제 #3
0
 System.Threading.Tasks.Task <WindowsFormsApplication1.ServiceReference1.SendWeiXinForTradeResponse> WindowsFormsApplication1.ServiceReference1.MessageSenderSoap.SendWeiXinForTradeAsync(WindowsFormsApplication1.ServiceReference1.SendWeiXinForTradeRequest request)
 {
     return(base.Channel.SendWeiXinForTradeAsync(request));
 }
예제 #4
0
 WindowsFormsApplication1.ServiceReference1.SendWeiXinForTradeResponse WindowsFormsApplication1.ServiceReference1.MessageSenderSoap.SendWeiXinForTrade(WindowsFormsApplication1.ServiceReference1.SendWeiXinForTradeRequest request)
 {
     return(base.Channel.SendWeiXinForTrade(request));
 }