ExceptionHandlerMiddleware Classe

Définition

Intergiciel pour gérer les exceptions dans l’application.

public ref class ExceptionHandlerMiddleware
public class ExceptionHandlerMiddleware
type ExceptionHandlerMiddleware = class
Public Class ExceptionHandlerMiddleware
Héritage
ExceptionHandlerMiddleware

Constructeurs

ExceptionHandlerMiddleware(RequestDelegate, ILoggerFactory, IOptions<ExceptionHandlerOptions>, DiagnosticListener)

Crée un objet ExceptionHandlerMiddleware.

ExceptionHandlerMiddleware(RequestDelegate, ILoggerFactory, IOptions<ExceptionHandlerOptions>, DiagnosticSource)

Intergiciel pour gérer les exceptions dans l’application.

Méthodes

Invoke(HttpContext)

Exécute le middleware.

S’applique à