WCF路由器服务的InstanceContextMode [英] InstanceContextMode for a wcf router service

查看:248
本文介绍了WCF路由器服务的InstanceContextMode的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

有人可以帮我如何为wcf路由器服务设置InstanceContextMode

在Advance中致谢

Hello All,

Can some one please help me how to set the InstanceContextMode for a wcf router service

Thanks in Advance

推荐答案

我想你会想要InstanceContextMode.Single和ConcurrencyMode = concurrencyMode.Multiple ...

I would guess you''d want InstanceContextMode.Single and ConcurrencyMode = concurrencyMode.Multiple...

[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)]
public class MyRouterService : IMyRouterService 
{
...


这篇关于WCF路由器服务的InstanceContextMode的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆