CompilationSection.MaxBatchSize Eigenschap
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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