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

適用対象