コード例 #1
0
		/// <summary>
		/// Initializes a new instance of the ThreadPoolStartInfo class.
		/// </summary>
		/// <param name="threadPoolStartInfo"></param>
        public ThreadPoolStartInfo(ThreadPoolStartInfo threadPoolStartInfo)
        {
            _idleTimeout = threadPoolStartInfo._idleTimeout;
            _minWorkerThreads = threadPoolStartInfo._minWorkerThreads;
            _maxWorkerThreads = threadPoolStartInfo._maxWorkerThreads;
			_threadPriority = threadPoolStartInfo._threadPriority;
			_perfCounterInstanceName = threadPoolStartInfo._perfCounterInstanceName;
			_startSuspended = threadPoolStartInfo._startSuspended;
		}
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the ThreadPoolStartInfo class.
 /// </summary>
 /// <param name="threadPoolStartInfo"></param>
 public ThreadPoolStartInfo(ThreadPoolStartInfo threadPoolStartInfo)
 {
     _idleTimeout             = threadPoolStartInfo._idleTimeout;
     _minWorkerThreads        = threadPoolStartInfo._minWorkerThreads;
     _maxWorkerThreads        = threadPoolStartInfo._maxWorkerThreads;
     _threadPriority          = threadPoolStartInfo._threadPriority;
     _perfCounterInstanceName = threadPoolStartInfo._perfCounterInstanceName;
     _startSuspended          = threadPoolStartInfo._startSuspended;
 }