예제 #1
0
 public System.Threading.Tasks.Task <WindowsFormsApplication1.ServiceReference1.SendWeiXinForTemplateResponse> SendWeiXinForTemplateAsync(string toOpenId, string templateName, string data, string url)
 {
     WindowsFormsApplication1.ServiceReference1.SendWeiXinForTemplateRequest inValue = new WindowsFormsApplication1.ServiceReference1.SendWeiXinForTemplateRequest();
     inValue.Body              = new WindowsFormsApplication1.ServiceReference1.SendWeiXinForTemplateRequestBody();
     inValue.Body.toOpenId     = toOpenId;
     inValue.Body.templateName = templateName;
     inValue.Body.data         = data;
     inValue.Body.url          = url;
     return(((WindowsFormsApplication1.ServiceReference1.MessageSenderSoap)(this)).SendWeiXinForTemplateAsync(inValue));
 }
예제 #2
0
 public string SendWeiXinForTemplate(string toOpenId, string templateName, string data, string url)
 {
     WindowsFormsApplication1.ServiceReference1.SendWeiXinForTemplateRequest inValue = new WindowsFormsApplication1.ServiceReference1.SendWeiXinForTemplateRequest();
     inValue.Body              = new WindowsFormsApplication1.ServiceReference1.SendWeiXinForTemplateRequestBody();
     inValue.Body.toOpenId     = toOpenId;
     inValue.Body.templateName = templateName;
     inValue.Body.data         = data;
     inValue.Body.url          = url;
     WindowsFormsApplication1.ServiceReference1.SendWeiXinForTemplateResponse retVal = ((WindowsFormsApplication1.ServiceReference1.MessageSenderSoap)(this)).SendWeiXinForTemplate(inValue);
     return(retVal.Body.SendWeiXinForTemplateResult);
 }
예제 #3
0
 System.Threading.Tasks.Task <WindowsFormsApplication1.ServiceReference1.SendWeiXinForTemplateResponse> WindowsFormsApplication1.ServiceReference1.MessageSenderSoap.SendWeiXinForTemplateAsync(WindowsFormsApplication1.ServiceReference1.SendWeiXinForTemplateRequest request)
 {
     return(base.Channel.SendWeiXinForTemplateAsync(request));
 }
예제 #4
0
 WindowsFormsApplication1.ServiceReference1.SendWeiXinForTemplateResponse WindowsFormsApplication1.ServiceReference1.MessageSenderSoap.SendWeiXinForTemplate(WindowsFormsApplication1.ServiceReference1.SendWeiXinForTemplateRequest request)
 {
     return(base.Channel.SendWeiXinForTemplate(request));
 }