问题标签 [taskfactory]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
rest - PragmaticWorks/SentryOne 任务工厂 REST 源 SSIS 设置
我正在尝试使用任务工厂的工具在 SSIS 中设置 REST 源。我正在尝试使用此端点从 Google Adwords 获取数据:
https://adwords.google.com/api/adwords/reportdownload/v201806
我需要在帖子中发送一些参数,并且此工具中有一个用于“发布数据”的框,但我不确定如何格式化这些数据。
我收到的信息是:
ReportDownloadError.MISSING_PARAMETER 缺少报告定义
我不确定报告定义是什么或放在哪里。或者如何将帖子数据添加到帖子数据框中。有人吗?
c# - 任务开始运行需要几秒钟以上的时间
我正在使用WPF
and开发一个应用程序C#
。我有以下代码:
通常CODE_A立即开始运行,不到一秒后, CODE_B开始执行。
但是,有时创建的任务需要Task.Factory.StartNew
超过 5 秒才能开始(一旦开始,执行就像往常一样快)。
我不明白为什么任务开始运行需要这么长时间?我可以以某种方式影响任务优先级,因此它会在所有情况下立即开始运行吗?我猜(这只是一个假设)任务是由任务调度程序安排的,以便稍后执行?有没有办法让我一直强制任务立即运行?
web-services - 如何为 iOS 和 Android 配置 VS 服务参考工具?
除了在 Xamarin 跨平台解决方案中生成 UWP 之外,如何配置 VS 服务参考工具以从 VS 生成的 WSDL 为 iOS 和 Android 开发生成完整的异步方法(TaskFactory?)类,以支持访问 SOAP 服务的等待函数?
azure - Microsoft Azure SSIS:Excel(任务工厂)错误
在 Azure 中执行我的 SSIS 包时出现此错误。我想知道是否有人对 TaskFactory 有经验 - Excel 与新 SSIS 的连接转移到 Azure 数据工厂。谢谢
{ "SsisDBOperationGuid": "", "SsisDBOperationId": 9, "OperationErrorMessages": "11/25/2019 9:16:50 PM +00:00 : 将 Excel 导入 EDW 表:错误:TF Excel 源验证失败并返回错误代码 0xC004800B。\r\n\n11/25/2019 9:16:50 PM +00:00 : 将 Excel 导入 EDW 表:错误:一个或多个组件验证失败。\r\n\n11/25/2019晚上 9:16:50 +00:00:将 Excel 导入 EDW 表:错误:任务验证期间出现错误。\r\n\n", "effectiveIntegrationRuntime": "factSSIS (West US)", "executionDuration": 15、“durationInQueue”:{“integrationRuntimeQueue”:1}}
c# - 在 TaskScheduler(STA 线程)上一次运行一个线程
我已将StaTaskScheduler线程设置为 1,并且我希望每 5 秒得到一个 Debug 输出,但我最终得到 10 个具有相同日期
我错过了什么?STA的原因是后面会用于需要STA的Icons提取,但是这个测试是为了检查它是否按顺序完成。
c# - 如何使用任务创建线程
我有一个对返回正确数据的数据库的查询
我想要的是创建 x 个执行线程,并在每个线程内向数据库发出 x 个请求。
我怎么能在每个线程上执行ConsultaDB()
方法时间x
ssis - SSIS 电子邮件请求送达回执
有没有办法从 SSIS 电子邮件任务或任务工厂电子邮件任务中请求送达回执或阅读回执?
excel - 在 SSIS 中使用任务工厂电源刷新时出现“类未注册”错误
我有一堆包含数据透视表的 Excel 文件。我正在使用任务工厂电源刷新任务来刷新这些文件。但是,当我运行包时出现错误“类未注册”。此错误发生在 Power Refresh 任务上。我已经重新安装了 SSIS、SSDT、Office 和 Task Factory,但仍然出现错误。
当我从 excel 内部刷新数据透视表时,一切正常。我正在使用与另一个 excel 文件的连接作为我的数据源。
有人有这个问题的解决方案吗?
提前致谢。
c# - How to run mutliple tasks at once and add return values to a list?
What is the easiest way to run multiple tasks at once and add their return values to a list in c sharp? I tried a couple ways but I am probably doing everything wrong therefore I don't have much code to post on here.
UPDATE:
Here is one of my fail tries. I am basically trying to get the JSON dictionary from a link (links will be different for each task) and add all the JSON dictionaries to a single list at the end. But I want all the tasks to run at the same time.
The problem with this approach is that nothing gets added to the list. Actually no connection is made to the link either. But when done normally, the data is present.
vb.net - 使用“对非共享成员的引用需要对象引用”的参数错误调用 TaskFactory.StartNew()
代码段在第 7 行有错误“对非共享成员的引用需要对象引用”。我正在使用 MS 示例来解决这个问题,所以它应该可以工作。谢谢!