Sdílet prostřednictvím


ProcessModelSection.MinIOThreads Vlastnost

Definice

Získá nebo nastaví minimální počet vstupně-výstupních vláken na procesor ve fondu vláken CLR.

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

Hodnota vlastnosti

Int32

Minimální počet vstupně-výstupních vláken na procesor ve fondu vláken CLR.

Atributy

Příklady

Následující příklad kódu ukazuje, jak získat přístup k MinIOThreads vlastnosti.


// 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

Platí pro