ScriptManager.AllowCustomErrorsRedirect 속성

정의

비동기 포스트백 도중 오류가 발생할 경우 Web.config 파일의 사용자 지정 오류 섹션이 사용되는지 여부를 결정하는 값을 가져오거나 설정합니다.

public:
 property bool AllowCustomErrorsRedirect { bool get(); void set(bool value); };
public bool AllowCustomErrorsRedirect { get; set; }
member this.AllowCustomErrorsRedirect : bool with get, set
Public Property AllowCustomErrorsRedirect As Boolean

속성 값

비동기 포스트백 도중 발생하는 오류 동작을 결정하는 데 Web.config 파일의 사용자 지정 오류 설정이 사용되면 true이고, 그러지 않으면 false입니다. 기본값은 true입니다.

설명

AsyncPostBackError 비동기 포스트백 중에 페이지 오류가 발생하면 이벤트가 발생합니다. 서버의 오류를 클라이언트로 보내는 방법은 Web.config 파일의 AsyncPostBackErrorMessage 속성, 속성 및 사용자 지정 오류 섹션에 따라 달라집니다AllowCustomErrorsRedirect.

적용 대상

추가 정보