开发者

Does MTOM require a messageContract in WCF?

开发者 https://www.devze.com 2022-12-14 19:27 出处:网络
Is there any way use datacontracts while using M开发者_StackOverflowtom?There\'s nothing preventing you from using data contracts with MTOM.no, but the only thing in the body of the message must be th

Is there any way use datacontracts while using M开发者_StackOverflowtom?


There's nothing preventing you from using data contracts with MTOM.


no, but the only thing in the body of the message must be the file. if you have more than one parameter in the method, you must use a message contract because you have to specify where the things will go, on the header or on the body. This way you can put only the file in the body.

0

精彩评论

暂无评论...
验证码 换一张
取 消