ProcessModelSection.MinWorkerThreads 속성

정의

CLR 스레드 풀의 CPU당 최소 작업자 스레드 수를 가져오거나 설정합니다.

public:
 property int MinWorkerThreads { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("minWorkerThreads", DefaultValue=1)]
[System.Configuration.IntegerValidator(MaxValue=2147483646, MinValue=1)]
public int MinWorkerThreads { get; set; }
[<System.Configuration.ConfigurationProperty("minWorkerThreads", DefaultValue=1)>]
[<System.Configuration.IntegerValidator(MaxValue=2147483646, MinValue=1)>]
member this.MinWorkerThreads : int with get, set
Public Property MinWorkerThreads As Integer

속성 값

Int32

CLR 스레드 풀의 CPU당 최소 작업자 스레드 수입니다.

특성

예제

다음 코드 예제에서는 MinWorkerThreads 속성에 액세스하는 방법을 보여 줍니다.


  // Get the current MinWorkerThreads property value.
int minWorkerThreads = 
    processModelSection.MinWorkerThreads;

  // Set the MinWorkerThreads property to 2.
  processModelSection.MinWorkerThreads = 2;
' Get the current MinWorkerThreads property value.
   Dim minWorkerThreads As Integer = _
   processModelSection.MinWorkerThreads

' Set the MinWorkerThreads property to 2.
processModelSection.MinWorkerThreads = 2

적용 대상