CompilationSection.MaxBatchSize プロパティ

定義

バッチ コンパイルごとの最大ページ数を取得または設定します。

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

プロパティ値

1 回のバッチでコンパイルされるページの最大数を示す整数値。 既定のページ数は 1000 です。

属性

次のコード例では、 プロパティの使用方法を MaxBatchSize 示します。 このコード例は、CompilationSection クラスのために提供されている大規模な例の一部です。

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

適用対象