ServiceExceptionFilterAttribute 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
필터 파이프라인에서 발생하는 처리되지 않은 예외를 catch하고 기록하는 기본값 System.Web.Http.Filters.ExceptionFilterAttribute 을 제공합니다.
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false)]
public sealed class ServiceExceptionFilterAttribute : System.Web.Http.Filters.ExceptionFilterAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false)>]
type ServiceExceptionFilterAttribute = class
inherit ExceptionFilterAttribute
Public NotInheritable Class ServiceExceptionFilterAttribute
Inherits ExceptionFilterAttribute
- 상속
-
System.Web.Http.Filters.ExceptionFilterAttributeServiceExceptionFilterAttribute
- 특성
생성자
ServiceExceptionFilterAttribute() |
필터 파이프라인에서 발생하는 처리되지 않은 예외를 catch하고 기록하는 기본값 System.Web.Http.Filters.ExceptionFilterAttribute 을 제공합니다. |
메서드
OnException(HttpActionExecutedContext) |
애플리케이션이 이러한 이벤트를 기록하지 않도록 구성되지 않은 경우 애플리케이션 로그에 표시되도록 하는 를 사용하여 LogCategories 처리되지 않은 예외를 기록합니다. |
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET