c# - Azure 服务总线规则名称最大长度

标签 c# .net azure azureservicebus

我正在尝试发布 Dictionary<string,object> 类型的事件当我打电话 eventbus.Publish(@event)我收到以下错误:

  • InnerException {"Entity path 'System.Collections.Generic.Dictionary`2[System.String,System.Object]' exceeds the '50' character limit. (Parameter 'ruleName')"} System.Exception {System.ArgumentOutOfRangeException}

是否可以更改 Azure 服务总线上规则名称的字符限制?或者有其他方法可以突破这个限制吗?

最佳答案

目前尚不可用。就像 Casey Crookston 所说,这是 Service Bus quotas 中列出的基本配额。 。如果您检查过 AddRule method ,你会发现超过50个字符就会抛出异常。

如果您坚持使用该功能,您可以访问 azure 反馈网站并提交此请求。或者投票支持现有的建议。您可以投票支持此建议:Increase the maximum length of the name of a topic subscription

关于c# - Azure 服务总线规则名称最大长度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59180725/

相关文章:

.net - Visual C++ 编译器错误 2061

C#:沙箱和性能 (MarshalByRefObject)

azure - RDP 客户端在 VM 启动时显示不同的屏幕(与 SConfig 相关)

c# - 使用 LINQ 从多个列表中选择

时间:2019-05-17 标签:c#wpf: wait for webbrowser to load the page

c# - LINQ 方法执行序列

Azure Lighthouse - 获取订阅级别部署的区域

azure - 运行 Docker 的 Azure 虚拟机上的 `mount: permission denied`

带有捷克字符的 C# 文件名,无法正常工作

c# - 将 OrderBy Predicate 中的 Lambda 表达式从 C# 转换为 VB.net