• <small id='XR1e1'></small><noframes id='XR1e1'>

    <i id='XR1e1'><tr id='XR1e1'><dt id='XR1e1'><q id='XR1e1'><span id='XR1e1'><b id='XR1e1'><form id='XR1e1'><ins id='XR1e1'></ins><ul id='XR1e1'></ul><sub id='XR1e1'></sub></form><legend id='XR1e1'></legend><bdo id='XR1e1'><pre id='XR1e1'><center id='XR1e1'></center></pre></bdo></b><th id='XR1e1'></th></span></q></dt></tr></i><div id='XR1e1'><tfoot id='XR1e1'></tfoot><dl id='XR1e1'><fieldset id='XR1e1'></fieldset></dl></div>

    1. <legend id='XR1e1'><style id='XR1e1'><dir id='XR1e1'><q id='XR1e1'></q></dir></style></legend>

          <bdo id='XR1e1'></bdo><ul id='XR1e1'></ul>

      1. <tfoot id='XR1e1'></tfoot>

        无法将参数“日志"绑定到类型 TraceWriter

        Cannot bind parameter #39;log#39; to type TraceWriter(无法将参数“日志绑定到类型 TraceWriter)
          <tbody id='NlhgF'></tbody>
        <legend id='NlhgF'><style id='NlhgF'><dir id='NlhgF'><q id='NlhgF'></q></dir></style></legend>

              1. <small id='NlhgF'></small><noframes id='NlhgF'>

                • <bdo id='NlhgF'></bdo><ul id='NlhgF'></ul>

                  <i id='NlhgF'><tr id='NlhgF'><dt id='NlhgF'><q id='NlhgF'><span id='NlhgF'><b id='NlhgF'><form id='NlhgF'><ins id='NlhgF'></ins><ul id='NlhgF'></ul><sub id='NlhgF'></sub></form><legend id='NlhgF'></legend><bdo id='NlhgF'><pre id='NlhgF'><center id='NlhgF'></center></pre></bdo></b><th id='NlhgF'></th></span></q></dt></tr></i><div id='NlhgF'><tfoot id='NlhgF'></tfoot><dl id='NlhgF'><fieldset id='NlhgF'></fieldset></dl></div>

                  <tfoot id='NlhgF'></tfoot>
                  本文介绍了无法将参数“日志"绑定到类型 TraceWriter的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  右键项目->调试->启动新实例时得到以下消息.

                  <块引用>

                  [1/7/2018 6:48:54 AM] 发生 ScriptHost 错误[1/7/2018 6:48:54AM] 执行的 HTTP 请求:{ [1/7/2018 6:48:54 AM]Microsoft.Azure.WebJobs.Host:索引方法错误'TestFilesIngestJobs.RunScheduleAsync'.Microsoft.Azure.WebJobs.Host:无法将参数日志"绑定到类型TraceWriter.确保绑定支持参数类型.如果您使用绑定扩展(例如 ServiceBus、Timers 等)确保您已调用扩展程序的注册方法在您的启动代码中(例如 config.UseServiceBus()、config.UseTimers()、等等.).[2018 年 1 月 7 日上午 6 点 48 分 54 秒] requestId":dbb282d7-44e2-44b4-907e-877beac9da2d",[1/7/2018 6:48:54 AM] 错误索引方法MasterDataFilesIngestJobs.RunScheduleAsync"[2018 年 1 月 7 日上午 6 点 48 分 54 秒]方法":获取",

                  解决方案

                  要让这个在你的机器上工作,你必须做两件事.遵循此

                  Getting the below message when doing right click project -> Debug -> Start New Instance.

                  [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",

                  解决方案

                  For This to work on your machines, you will have to do two things. Follow the Visual Studio section in this link

                  1. Install Azure-functions-core-tools@core package is installed using npm.
                  2. Create a debug profile and setup as shown below and use that profile while launching it from visual studio.

                  Please find the image below for your help.

                  这篇关于无法将参数“日志"绑定到类型 TraceWriter的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Multicast delegate weird behavior in C#?(C# 中的多播委托奇怪行为?)
                  Parameter count mismatch with Invoke?(参数计数与调用不匹配?)
                  How to store delegates in a List(如何将代表存储在列表中)
                  How delegates work (in the background)?(代表如何工作(在后台)?)
                  C# Asynchronous call without EndInvoke?(没有 EndInvoke 的 C# 异步调用?)
                  Delegate.CreateDelegate() and generics: Error binding to target method(Delegate.CreateDelegate() 和泛型:错误绑定到目标方法)
                  • <bdo id='UaNRR'></bdo><ul id='UaNRR'></ul>
                    <legend id='UaNRR'><style id='UaNRR'><dir id='UaNRR'><q id='UaNRR'></q></dir></style></legend>

                      1. <tfoot id='UaNRR'></tfoot>
                          <tbody id='UaNRR'></tbody>

                          <small id='UaNRR'></small><noframes id='UaNRR'>

                        • <i id='UaNRR'><tr id='UaNRR'><dt id='UaNRR'><q id='UaNRR'><span id='UaNRR'><b id='UaNRR'><form id='UaNRR'><ins id='UaNRR'></ins><ul id='UaNRR'></ul><sub id='UaNRR'></sub></form><legend id='UaNRR'></legend><bdo id='UaNRR'><pre id='UaNRR'><center id='UaNRR'></center></pre></bdo></b><th id='UaNRR'></th></span></q></dt></tr></i><div id='UaNRR'><tfoot id='UaNRR'></tfoot><dl id='UaNRR'><fieldset id='UaNRR'></fieldset></dl></div>