【问题标题】:How to set maxArrayLength in .Net service?如何在 .Net 服务中设置 maxArrayLength?
【发布时间】:2011-04-13 04:30:53
【问题描述】:

在客户端我在 app.config 中进行:

<basicHttpBinding ...
<binding ...
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="50000" maxBytesPerRead="4096" maxNameTableCharCount="16384" />

【问题讨论】:

  • 不清楚的问题是......请给出完整的定义和一些你使用的示例代码......

标签: .net app-config


【解决方案1】:

我猜你的意思是以编程方式更改读者配额: here

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-11-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-12-22
    • 1970-01-01
    相关资源
    最近更新 更多