次の方法で共有


DeveloperExceptionPageMiddleware コンストラクター

定義

オーバーロード

DeveloperExceptionPageMiddleware(RequestDelegate, IOptions<DeveloperExceptionPageOptions>, ILoggerFactory, IHostingEnvironment, DiagnosticSource)

DeveloperExceptionPageMiddleware クラスの新しいインスタンスを初期化します。

DeveloperExceptionPageMiddleware(RequestDelegate, IOptions<DeveloperExceptionPageOptions>, ILoggerFactory, IWebHostEnvironment, DiagnosticSource, IEnumerable<IDeveloperPageExceptionFilter>)

DeveloperExceptionPageMiddleware クラスの新しいインスタンスを初期化します。

DeveloperExceptionPageMiddleware(RequestDelegate, IOptions<DeveloperExceptionPageOptions>, ILoggerFactory, IHostingEnvironment, DiagnosticSource)

ソース:
DeveloperExceptionPageMiddleware.cs
ソース:
DeveloperExceptionPageMiddleware.cs

DeveloperExceptionPageMiddleware クラスの新しいインスタンスを初期化します。

public:
 DeveloperExceptionPageMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::DeveloperExceptionPageOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::AspNetCore::Hosting::IHostingEnvironment ^ hostingEnvironment, System::Diagnostics::DiagnosticSource ^ diagnosticSource);
public DeveloperExceptionPageMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.DeveloperExceptionPageOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnvironment, System.Diagnostics.DiagnosticSource diagnosticSource);
new Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.DeveloperExceptionPageOptions> * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.AspNetCore.Hosting.IHostingEnvironment * System.Diagnostics.DiagnosticSource -> Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of DeveloperExceptionPageOptions), loggerFactory As ILoggerFactory, hostingEnvironment As IHostingEnvironment, diagnosticSource As DiagnosticSource)

パラメーター

loggerFactory
ILoggerFactory
hostingEnvironment
IHostingEnvironment
diagnosticSource
DiagnosticSource

適用対象

DeveloperExceptionPageMiddleware(RequestDelegate, IOptions<DeveloperExceptionPageOptions>, ILoggerFactory, IWebHostEnvironment, DiagnosticSource, IEnumerable<IDeveloperPageExceptionFilter>)

ソース:
DeveloperExceptionPageMiddleware.cs

DeveloperExceptionPageMiddleware クラスの新しいインスタンスを初期化します。

public:
 DeveloperExceptionPageMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::DeveloperExceptionPageOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::AspNetCore::Hosting::IWebHostEnvironment ^ hostingEnvironment, System::Diagnostics::DiagnosticSource ^ diagnosticSource, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Diagnostics::IDeveloperPageExceptionFilter ^> ^ filters);
public DeveloperExceptionPageMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.DeveloperExceptionPageOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnvironment, System.Diagnostics.DiagnosticSource diagnosticSource, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Diagnostics.IDeveloperPageExceptionFilter> filters);
new Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.DeveloperExceptionPageOptions> * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.AspNetCore.Hosting.IWebHostEnvironment * System.Diagnostics.DiagnosticSource * seq<Microsoft.AspNetCore.Diagnostics.IDeveloperPageExceptionFilter> -> Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of DeveloperExceptionPageOptions), loggerFactory As ILoggerFactory, hostingEnvironment As IWebHostEnvironment, diagnosticSource As DiagnosticSource, filters As IEnumerable(Of IDeveloperPageExceptionFilter))

パラメーター

next
RequestDelegate

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

options
IOptions<DeveloperExceptionPageOptions>

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

loggerFactory
ILoggerFactory

ログ記録に使用される ILoggerFactory

hostingEnvironment
IWebHostEnvironment
diagnosticSource
DiagnosticSource

DiagnosticSource 診断メッセージの書き込みに使用されます。

filters
IEnumerable<IDeveloperPageExceptionFilter>

登録されている IDeveloperPageExceptionFilterの一覧。

適用対象