다음을 통해 공유


ExceptionHandlerOptions.CreateScopeForErrors 속성

정의

처리기가 별도의 IServiceProvider scope 만들고 오류를 처리하기 위해 요청을 다시 실행할 때 이를 바꿔 RequestServices 야 하는지 여부를 가져오거나 설정합니다.

public bool CreateScopeForErrors { get; set; }
member this.CreateScopeForErrors : bool with get, set
Public Property CreateScopeForErrors As Boolean

속성 값

설명

기본값은 false입니다.

적용 대상