`

WCF深入学习_并发管理(三)

阅读更多

一.实例说明
(3.Instance mode =PerSession and Concurrency = Single实例模式'PerSession'与并发'Single'。

In this combination one WCF service instance is created for every WCF client session because the WCF instance mode is set to per session. All the method calls are executed in a sequential manner one by one. In other words only one thread is available for all method calls for a particular service instance.

If you run the sample code with the per session and single combination mode you will find the same thread executes all request with same WCF instance per session.
二.代码分析

三.运行结果分析

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics