本文介绍了如何将从WCF服务收到的同一个类obj传递给Application C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嘿所有人,
我正在使用两个图像字节数组向Web服务提交类obj,这很好。但是,当我想以字节数组的形式获得具有图像的相同类对象时,它会引发异常(已超出传入消息的最大消息大小配额(65536)。要增加配额,请在适当的绑定上使用MaxReceivedMessageSize属性元素。)
i试图增加MaxReceivedMessageSize =2147483647,但仍面临这个问题。
解决方案
Hey to all,
I am submitting class obj to web service with two images byte array that is fine. But when i want to get same class object with images in form of byte array it service raise exception of (The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.)
i have tried to increase MaxReceivedMessageSize = "2147483647" but still facing this issue.
解决方案
这篇关于如何将从WCF服务收到的同一个类obj传递给Application C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!