Udostępnij za pośrednictwem


DeveloperExceptionPageMiddleware Konstruktory

Definicja

Przeciążenia

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

Inicjuje nowe wystąpienie klasy DeveloperExceptionPageMiddleware

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

Inicjuje nowe wystąpienie klasy DeveloperExceptionPageMiddleware

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

Źródło:
DeveloperExceptionPageMiddleware.cs
Źródło:
DeveloperExceptionPageMiddleware.cs

Inicjuje nowe wystąpienie klasy 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)

Parametry

loggerFactory
ILoggerFactory
hostingEnvironment
IHostingEnvironment
diagnosticSource
DiagnosticSource

Dotyczy

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

Źródło:
DeveloperExceptionPageMiddleware.cs

Inicjuje nowe wystąpienie klasy 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))

Parametry

next
RequestDelegate

Element RequestDelegate reprezentujący następne oprogramowanie pośredniczące w potoku.

options
IOptions<DeveloperExceptionPageOptions>

Opcje konfigurowania oprogramowania pośredniczącego.

loggerFactory
ILoggerFactory

Element używany do rejestrowania ILoggerFactory .

hostingEnvironment
IWebHostEnvironment
diagnosticSource
DiagnosticSource

Używany DiagnosticSource do pisania komunikatów diagnostycznych.

filters
IEnumerable<IDeveloperPageExceptionFilter>

Lista zarejestrowanych IDeveloperPageExceptionFilterelementów .

Dotyczy