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 파일에 있는 요소의 batch 특성에 해당 compilation 합니다. 자세한 내용은 compilation 요소(ASP.NET 설정 스키마) 참조하세요.

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

적용 대상