次の方法で共有


ExceptionHandlerMiddleware コンストラクター

定義

オーバーロード

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

新しい ExceptionHandlerMiddleware を作成します。

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

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

ソース:
ExceptionHandlerMiddleware.cs

新しい ExceptionHandlerMiddleware を作成します。

public:
 ExceptionHandlerMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::ExceptionHandlerOptions ^> ^ options, System::Diagnostics::DiagnosticListener ^ diagnosticListener);
public ExceptionHandlerMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.ExceptionHandlerOptions> options, System.Diagnostics.DiagnosticListener diagnosticListener);
new Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.ExceptionHandlerOptions> * System.Diagnostics.DiagnosticListener -> Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware
Public Sub New (next As RequestDelegate, loggerFactory As ILoggerFactory, options As IOptions(Of ExceptionHandlerOptions), diagnosticListener As DiagnosticListener)

パラメーター

next
RequestDelegate

RequestDelegateパイプライン内の次のミドルウェアを表す 。

loggerFactory
ILoggerFactory

ILoggerFactoryログ記録に使用される 。

options
IOptions<ExceptionHandlerOptions>

ミドルウェアを構成するためのオプション。

diagnosticListener
DiagnosticListener

DiagnosticListener診断メッセージの書き込みに使用される 。

適用対象

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

ソース:
ExceptionHandlerMiddleware.cs
ソース:
ExceptionHandlerMiddleware.cs
public:
 ExceptionHandlerMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::ExceptionHandlerOptions ^> ^ options, System::Diagnostics::DiagnosticSource ^ diagnosticSource);
public ExceptionHandlerMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.ExceptionHandlerOptions> options, System.Diagnostics.DiagnosticSource diagnosticSource);
new Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.ExceptionHandlerOptions> * System.Diagnostics.DiagnosticSource -> Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware
Public Sub New (next As RequestDelegate, loggerFactory As ILoggerFactory, options As IOptions(Of ExceptionHandlerOptions), diagnosticSource As DiagnosticSource)

パラメーター

loggerFactory
ILoggerFactory
diagnosticSource
DiagnosticSource

適用対象