BuildManager.BatchCompilationEnabled 속성

정의

일괄 컴파일을 사용하는지 여부를 나타내는 값을 가져오거나 설정합니다.

public:
 static property Nullable<bool> BatchCompilationEnabled { Nullable<bool> get(); void set(Nullable<bool> value); };
public static bool? BatchCompilationEnabled { get; set; }
static member BatchCompilationEnabled : Nullable<bool> with get, set
Public Shared Property BatchCompilationEnabled As Nullable(Of Boolean)

속성 값

일괄 컴파일을 항상 사용하면 true이고, 일괄 컴파일을 전혀 사용하지 않으면 false이고, 구성 파일에서 컴파일 설정을 확인하면 null입니다. 기본값은 null입니다.

예외

속성이 PreApplicationStart 메서드에 설정되지 않았습니다.

설명

이 속성을 사용하면 프로그래밍 방식으로 일괄 컴파일을 켜거나 끌 수 있습니다. Web.config 파일에 있는 요소의 compilation 특성에 해당 batch 합니다. 자세한 내용은 compilation 요소(ASP.NET 설정 스키마)를 참조하세요.

속성은 메서드에서 PreApplicationStart 만 설정할 수 있습니다. PreApplicationStart 메서드에 대한 자세한 내용은 PreApplicationStartMethodAttribute을 참조하십시오.

적용 대상