Search Results for

    Show / Hide Table of Contents
    View Source

    Class UnhandledExceptionLoggerMiddleware

    Logs any unhandled exception.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Web.BackOffice.Filters
    Assembly: Umbraco.Web.BackOffice.dll
    Syntax
    public class UnhandledExceptionLoggerMiddleware : IMiddleware

    Constructors

    View Source

    UnhandledExceptionLoggerMiddleware(ILogger<UnhandledExceptionLoggerMiddleware>)

    Declaration
    public UnhandledExceptionLoggerMiddleware(ILogger<UnhandledExceptionLoggerMiddleware> logger)
    Parameters
    Type Name Description
    Microsoft.Extensions.Logging.ILogger<UnhandledExceptionLoggerMiddleware> logger

    Methods

    View Source

    InvokeAsync(HttpContext, RequestDelegate)

    Declaration
    public async Task InvokeAsync(HttpContext context, RequestDelegate next)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Http.HttpContext context
    Microsoft.AspNetCore.Http.RequestDelegate next
    Returns
    Type Description
    Task
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • UnhandledExceptionLoggerMiddleware(ILogger<UnhandledExceptionLoggerMiddleware>)
    • Methods
      • InvokeAsync(HttpContext, RequestDelegate)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX