ServiceExceptionFilterAttribute Classe
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Fornece uma predefinição System.Web.Http.Filters.ExceptionFilterAttribute que captura exceções não processadas que ocorrem no pipeline de filtro e regista-as.
[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
- Herança
-
System.Web.Http.Filters.ExceptionFilterAttributeServiceExceptionFilterAttribute
- Atributos
Construtores
ServiceExceptionFilterAttribute() |
Fornece uma predefinição System.Web.Http.Filters.ExceptionFilterAttribute que captura exceções não processadas que ocorrem no pipeline de filtro e regista-as. |
Métodos
OnException(HttpActionExecutedContext) |
Regista a exceção não processada com LogCategories o que a faz aparecer no registo de aplicações, a menos que a aplicação tenha sido configurada para não registar tais eventos. |
Aplica-se a
Azure SDK for .NET