在编程里这种方式:<SPAN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 宋体; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"> WSHttpBinding binding = new WSHttpBinding();<BR> <B style="mso-bidi-font-weight: normal">binding</B>.TransactionFlow = true;<BR style="mso-special-character: line-break"><BR style="mso-special-character: line-break">如果写在配置文件中的话,该如何写。 谢谢各位。
2 回答
茅侃侃
TA贡献1842条经验 获得超21个赞
<bindings> <wsHttpBinding> <binding name="MyBinding" transactionFlow="True" /> </wsHttpBinding> </bindings> 这是一个bindings的配置,在你的服务的配置上这么写 <endpoint address="" binding="wsHttpBinding" contract="GDev.Test.Cmd.IBlogEntry" bindingConfiguration="MyBinding">
- 2 回答
- 0 关注
- 420 浏览
添加回答
举报
0/150
提交
取消