ServiceThrottlingBehavior 服务

ServiceThrottlingBehavior 服务

语法

class ServiceThrottlingBehavior : Behavior  
{  
  sint32 MaxConcurrentCalls;  
  sint32 MaxConcurrentInstances;  
  sint32 MaxConcurrentSessions;  
};  

方法

ServiceThrottlingBehavior 类不定义任何方法。

性能

ServiceThrottlingBehavior 类具有以下属性:

MaxConcurrentCalls

数据类型:sint32

访问类型:只读

在 ServiceHost 中的所有 Dispatcher 对象中主动处理的最大消息数。

MaxConcurrentInstances 实例

数据类型:sint32

访问类型:只读

一次可以执行的最大服务对象数。

MaxConcurrentSessions

数据类型:sint32

访问类型:只读

主持人一次可以接受的最大会话数。

要求

财政部 在 Servicemodel.mof 中声明。
Namespace 在 root\ServiceModel 中定义

另请参阅