CompilationSection.MaxBatchSize Eigenschap

Definitie

Hiermee wordt het maximum aantal pagina's per compilatie in batch opgehaald of ingesteld.

public:
 property int MaxBatchSize { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxBatchSize", DefaultValue=1000)]
public int MaxBatchSize { get; set; }
[<System.Configuration.ConfigurationProperty("maxBatchSize", DefaultValue=1000)>]
member this.MaxBatchSize : int with get, set
Public Property MaxBatchSize As Integer

Waarde van eigenschap

Een geheel getal dat het maximum aantal pagina's aangeeft dat in één batch wordt gecompileerd. Het standaardaantal pagina's is 1000.

Kenmerken

Voorbeelden

In het volgende codevoorbeeld ziet u hoe u de MaxBatchSize eigenschap gebruikt. Dit codevoorbeeld maakt deel uit van een groter voorbeeld voor de CompilationSection klasse.

// Display MaxBatchSize property.
Console.WriteLine("MaxBatchSize: {0}", 
  configSection.MaxBatchSize);

// Set MaxBatchSize property.
configSection.MaxBatchSize = 1000;
' Display MaxBatchSize property.
Console.WriteLine("MaxBatchSize: {0}", _
 configSection.MaxBatchSize)

' Set MaxBatchSize property.
configSection.MaxBatchSize = 1000

Van toepassing op