通过的app.config配置线程池最大线程数? [英] Configuring Threadpool Max Threads via app.config?
本文介绍了通过的app.config配置线程池最大线程数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以通过配置文件配置的最大线程?
Can I configure the max threads via the config file?
推荐答案
没有 - 但是,这可以根据你读,配置值设置通过调用<一href="http://msdn.microsoft.com/en-us/library/system.threading.threadpool.setmaxthreads.aspx">ThreadPool.SetMaxThreads.
No - However, this can be set based on configuration values you read, by calling ThreadPool.SetMaxThreads.
这篇关于通过的app.config配置线程池最大线程数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文