コード例 #1
0
 public System.Threading.Tasks.Task <FileManagementUtil.ServiceReference1.SendMessageResponse> SendMessageAsync(string secret, string templateid, string title, string opeinid, string content, string occurtime, string remark, string linkUrl)
 {
     FileManagementUtil.ServiceReference1.SendMessageRequest inValue = new FileManagementUtil.ServiceReference1.SendMessageRequest();
     inValue.Body            = new FileManagementUtil.ServiceReference1.SendMessageRequestBody();
     inValue.Body.secret     = secret;
     inValue.Body.templateid = templateid;
     inValue.Body.title      = title;
     inValue.Body.opeinid    = opeinid;
     inValue.Body.content    = content;
     inValue.Body.occurtime  = occurtime;
     inValue.Body.remark     = remark;
     inValue.Body.linkUrl    = linkUrl;
     return(((FileManagementUtil.ServiceReference1.WxServiceSoap)(this)).SendMessageAsync(inValue));
 }
コード例 #2
0
 public string SendMessage(string secret, string templateid, string title, string opeinid, string content, string occurtime, string remark, string linkUrl)
 {
     FileManagementUtil.ServiceReference1.SendMessageRequest inValue = new FileManagementUtil.ServiceReference1.SendMessageRequest();
     inValue.Body            = new FileManagementUtil.ServiceReference1.SendMessageRequestBody();
     inValue.Body.secret     = secret;
     inValue.Body.templateid = templateid;
     inValue.Body.title      = title;
     inValue.Body.opeinid    = opeinid;
     inValue.Body.content    = content;
     inValue.Body.occurtime  = occurtime;
     inValue.Body.remark     = remark;
     inValue.Body.linkUrl    = linkUrl;
     FileManagementUtil.ServiceReference1.SendMessageResponse retVal = ((FileManagementUtil.ServiceReference1.WxServiceSoap)(this)).SendMessage(inValue);
     return(retVal.Body.SendMessageResult);
 }
コード例 #3
0
 System.Threading.Tasks.Task <FileManagementUtil.ServiceReference1.SendMessageResponse> FileManagementUtil.ServiceReference1.WxServiceSoap.SendMessageAsync(FileManagementUtil.ServiceReference1.SendMessageRequest request)
 {
     return(base.Channel.SendMessageAsync(request));
 }
コード例 #4
0
 FileManagementUtil.ServiceReference1.SendMessageResponse FileManagementUtil.ServiceReference1.WxServiceSoap.SendMessage(FileManagementUtil.ServiceReference1.SendMessageRequest request)
 {
     return(base.Channel.SendMessage(request));
 }