我们正在使用带有netMsmqBinding的.net WCF。netMsmqBinding是多线程的吗?有没有办法将绑定更改为使用单线程?
发布于 2010-04-10 02:58:32
要按顺序处理消息,请向服务添加一个servicebehavior属性,并将instancecontentmode设置为single,将concurrenycmode设置为single
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single , ConcurrencyMode = ConcurrencyMode.Single )]
public class Service : IService...https://stackoverflow.com/questions/2484887
复制相似问题