Ejemplo n.º 1
0
 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));
 }
Ejemplo n.º 2
0
 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);
 }
Ejemplo n.º 3
0
 System.Threading.Tasks.Task <WebApplication1.ServiceReference1.SendWeiXinResponse> WebApplication1.ServiceReference1.MessageSenderSoap.SendWeiXinAsync(WebApplication1.ServiceReference1.SendWeiXinRequest request)
 {
     return(base.Channel.SendWeiXinAsync(request));
 }
Ejemplo n.º 4
0
 WebApplication1.ServiceReference1.SendWeiXinResponse WebApplication1.ServiceReference1.MessageSenderSoap.SendWeiXin(WebApplication1.ServiceReference1.SendWeiXinRequest request)
 {
     return(base.Channel.SendWeiXin(request));
 }