1

是否可以控制回调的节流?因此,服务器将受到限制(控制)它可以多久回调客户端。

4

1 回答 1

0

是的..有一种方法可以定义用户的最大限制...您可以添加最大并发呼叫、实例和会话数。

示例配置...

<system.serviceModel>
        <behaviors>
            <serviceBehaviors>
                <behavior name="Throttling">
                    <serviceThrottling maxConcurrentCalls="2" maxConcurrentInstances="2" />
                    <serviceThrottling />
                </behavior>
            </serviceBehaviors>
        </behaviors>
</system.serviceModel>
于 2010-08-17T13:16:07.020 回答