Search Results for

    Show / Hide Table of Contents

    Interface IHttpContextExceptionHandler<TException>

    Defines an interface for a exception handler.

    Namespace: MADE.Web.Exceptions
    Assembly: MADE.Web.dll
    Syntax
    public interface IHttpContextExceptionHandler<in TException>
    
        where TException : Exception
    Type Parameters
    Name Description
    TException

    The type of exception thrown.

    Methods

    | Improve this Doc View Source

    HandleAsync(HttpContext, TException)

    Handles the specified exception for the given context.

    Declaration
    Task HandleAsync(HttpContext context, TException exception)
    Parameters
    Type Name Description
    HttpContext context

    The request context.

    TException exception

    The exception that was thrown.

    Returns
    Type Description
    Task

    An asynchronous operation.

    Extension Methods

    ReflectionExtensions.GetPropertyValue<T>(Object, String)
    ReflectionExtensions.GetPropertyNames(Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps