ExceptionHandlerMiddleware クラス

定義

アプリケーションで例外を処理するためのミドルウェア。

public ref class ExceptionHandlerMiddleware
public class ExceptionHandlerMiddleware
type ExceptionHandlerMiddleware = class
Public Class ExceptionHandlerMiddleware
継承
ExceptionHandlerMiddleware

コンストラクター

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

新しい ExceptionHandlerMiddleware を作成します。

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

アプリケーションで例外を処理するためのミドルウェア。

メソッド

Invoke(HttpContext)

ミドルウェアを実行します。

適用対象