共用方式為


ProcessModelSection.MinIOThreads 屬性

定義

取得或設定 CLR 執行緒集區中每個 CPU 之 I/O 執行緒的最小數目。

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

屬性值

Int32

CLR 執行緒集區中每個 CPU 之 I/O 執行緒的最小數目。

屬性

範例

下列程式碼範例示範如何存取 MinIOThreads 屬性。


// Get the current MinIOThreads property value.
int minIOThreads = processModelSection.MinIOThreads;

// Set the MinIOThreads property to 1.
processModelSection.MinIOThreads = 1;
' Get the current MinIOThreads property value.
   Dim minIOThreads As Integer = _
   processModelSection.MinIOThreads

' Set the MinIOThreads property to 1.
processModelSection.MinIOThreads = 1

適用於