- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
右键单击项目 -> 调试 -> 启动新实例时收到以下消息。
[1/7/2018 6:48:54 AM] A ScriptHost error has occurred[1/7/2018 6:48:54 AM] Executed HTTP request: { [1/7/2018 6:48:54 AM] Microsoft.Azure.WebJobs.Host: Error indexing method 'TestFilesIngestJobs.RunScheduleAsync'. Microsoft.Azure.WebJobs.Host: Cannot bind parameter 'log' to type TraceWriter. Make sure the parameter Type is supported by the binding. If you're using binding extensions (e.g. ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. config.UseServiceBus(), config.UseTimers(), etc.). [1/7/2018 6:48:54 AM] "requestId": "dbb282d7-44e2-44b4-907e-877beac9da2d", [1/7/2018 6:48:54 AM] Error indexing method 'MasterDataFilesIngestJobs.RunScheduleAsync' [1/7/2018 6:48:54 AM] "method": "GET",
最佳答案
要使其在您的计算机上运行,您必须做两件事。按照此 link 中的 Visual Studio 部分进行操作
请查看下面的图片以获取帮助。
关于c# - 无法将参数 'log' 绑定(bind)到类型 TraceWriter,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48135580/
如何重用 Azure 函数中可用的 TraceWriter 对象来记录外部引用库中的信息?我尝试使用构造函数传入对象并引用 TraceWriter 类 (web.http.tracing)。我没有运气
我有一个 Azure APP 函数,除了通过 HTTP 触发器调用的主方法之外,它内部还有一些辅助方法。 我希望能够在所有这些方法中记录事件。有一个 TraceWriter 对象,在调用时会传递到主入
我正在遵循指南 https://mikhail.io/2017/12/precompiled-azure-functions-in-fsharp/ : 已创建 dotnet f# 项目:dotnet
我正在遵循指南 https://mikhail.io/2017/12/precompiled-azure-functions-in-fsharp/ : 已创建 dotnet f# 项目:dotnet
右键单击项目 -> 调试 -> 启动新实例时收到以下消息。 [1/7/2018 6:48:54 AM] A ScriptHost error has occurred[1/7/2018 6:48:54
我正在尝试对基本的 Azure 函数进行单元测试。该函数的 Run 方法需要一个 TraceWriter 参数; TraceWriter 是一个抽象类,我没有找到太多用于模拟此依赖项的文档。 这是我尝
将我自己的项目从早期(几个月前)版本的 Azure Functions 升级到当前版本后,从 VS 启动时出现以下错误。 GetLoginUrl: Microsoft.Azure.WebJobs.Ho
我在使用 Azure 函数时遇到问题。 我在 VS 中创建了一个 Azure Functions v1(.Net Framework) Http 触发器模板。但是当我尝试直接运行它时,抛出异常。 我正
我已将一堆 Azure Functions“升级”到 .netstandard 2.0,但出现以下错误: Error indexing method 'Class.Method' Cannot bin
我是一名优秀的程序员,十分优秀!