Export (0) Print
Expand All

CompilationSection.MaxBatchGeneratedFileSize Property

Gets or sets the maximum combined size of the generated source files per batched compilation.

Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)

public int MaxBatchGeneratedFileSize { get; set; }
/** @property */
public int get_MaxBatchGeneratedFileSize ()

/** @property */
public void set_MaxBatchGeneratedFileSize (int value)

public function get MaxBatchGeneratedFileSize () : int

public function set MaxBatchGeneratedFileSize (value : int)

Not applicable.

Property Value

An integer value indicating the maximum combined size of the generated source files per batched compilation.

Specifies the maximum size (in kilobytes) of the generated source files per batched compilation. The default value is 1000 KB.

The following code example demonstrates how to use the MaxBatchGeneratedFileSize property. This code example is part of a larger example provided for the CompilationSection class.

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

// Set MaxBatchGeneratedFileSize property.
configSection.MaxBatchGeneratedFileSize = 1000;

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft