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

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

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

        <legend id='DFoN7'><style id='DFoN7'><dir id='DFoN7'><q id='DFoN7'></q></dir></style></legend>

        预编译的 Azure 函数和 CloudTable 绑定输出不起作用

        时间:2023-10-05

        <small id='0ApU1'></small><noframes id='0ApU1'>

        <legend id='0ApU1'><style id='0ApU1'><dir id='0ApU1'><q id='0ApU1'></q></dir></style></legend>

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

                    <tbody id='0ApU1'></tbody>

                  本文介绍了预编译的 Azure 函数和 CloudTable 绑定输出不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在使用一个预编译的 Azure 函数,看起来:

                  I'm using a precompiled Azure Function that looks:

                  public static async Task Run(Stream inputBlob, Stream outputJson, Stream outputXml, CloudTable schedulerTable)
                  

                  输出绑定的样子:

                  {
                    "name": "schedulerTable",
                    "type": "table",
                    "direction": "out",
                    "tableName": "SchedulerTable",
                    "connection": "SchedulerTable"
                  }
                  

                  当我从我的函数中删除参数 schedulerTable 时,它是有效的.'主持人扔给我的信息是:

                  When i remove the parameter schedulerTable from my function, it's works. The message that the host throws in my face is:

                  Microsoft.Azure.WebJobs.Host: Error indexing method 'Functions.InputFileAdaptorAF'. Microsoft.Azure.WebJobs.Host: Can't bind Table to type 'Microsoft.WindowsAzure.Storage.Table.CloudTable'.
                  

                  真的,当我尝试使用不同的替代方案添加表输出绑定时,没有任何效果.无效的替代方法是:

                  Really, when i add a table output binding trying with diferent alternatives, nothing works. Alternatives that doesn't work are:

                  • SchedulerRegister 类型的参数 schedulerTable.SchedulerRegister 类继承自 TableEntity.
                  • 类型为 ICollector 的参数 schedulerTable.
                  • 具有 CloudTable 类型的参数 schedulerTable.(上述情况).

                  请问,我该如何解决?(使用输出绑定到 azure 表)

                  Please, How I can fix it? (Use an output binding to azure table)

                  推荐答案

                  您可能会遇到类型不匹配的问题.您使用的是什么版本的存储 SDK?您需要确保存储 SDK 引用与运行时所期望的相匹配,目前是 7.2.1.

                  You're likely running into type mismatch issues. What version of the storage SDK are you using? You need to make sure storage SDK references match what the runtime expects, which currently is 7.2.1.

                  请确保您引用的是存储 SDK 版本 7.2.1.

                  Please make sure that you're referencing the storage SDK version 7.2.1.

                  这篇关于预编译的 Azure 函数和 CloudTable 绑定输出不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:我的 HTTP 触发 Azure 函数如何将请求的参数直接传递给 Run 方法? 下一篇:无法将参数“日志"绑定到类型 TraceWriter

                  相关文章

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

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