Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 WCF 服务连接并从服务器检索数据,但在增加MaxReceivedMessageSize属性后app.conf,我得到了这个异常:
MaxReceivedMessageSize
app.conf
该工厂缓冲消息,因此消息大小必须在整数值范围内。参数名称:value.MaxReceivedMessageSize
财产有没有限制MaxReceivedMessageSize?
MaxReceivedMessageSize 的限制是 Int64.MaxValue
您没有阅读错误吗?
message sizes must be in the range of an integer value.