다음을 통해 공유


ServiceExceptionFilterAttribute 클래스

정의

필터 파이프라인에서 발생하는 처리되지 않은 예외를 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.ExceptionFilterAttribute
ServiceExceptionFilterAttribute
특성

생성자

ServiceExceptionFilterAttribute()

필터 파이프라인에서 발생하는 처리되지 않은 예외를 catch하고 기록하는 기본값 System.Web.Http.Filters.ExceptionFilterAttribute 을 제공합니다.

메서드

OnException(HttpActionExecutedContext)

애플리케이션이 이러한 이벤트를 기록하지 않도록 구성되지 않은 경우 애플리케이션 로그에 표시되도록 하는 를 사용하여 LogCategories 처리되지 않은 예외를 기록합니다.

적용 대상