Condividi tramite


DeveloperExceptionPageMiddleware Costruttori

Definizione

Overload

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

Inizializza una nuova istanza della classe DeveloperExceptionPageMiddleware

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

Inizializza una nuova istanza della classe DeveloperExceptionPageMiddleware

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

Origine:
DeveloperExceptionPageMiddleware.cs
Origine:
DeveloperExceptionPageMiddleware.cs

Inizializza una nuova istanza della classe 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)

Parametri

loggerFactory
ILoggerFactory
hostingEnvironment
IHostingEnvironment
diagnosticSource
DiagnosticSource

Si applica a

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

Origine:
DeveloperExceptionPageMiddleware.cs

Inizializza una nuova istanza della classe 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))

Parametri

next
RequestDelegate

Oggetto RequestDelegate che rappresenta il middleware successivo nella pipeline.

options
IOptions<DeveloperExceptionPageOptions>

Opzioni per la configurazione del middleware.

loggerFactory
ILoggerFactory

Oggetto ILoggerFactory utilizzato per la registrazione.

hostingEnvironment
IWebHostEnvironment
diagnosticSource
DiagnosticSource

Oggetto DiagnosticSource utilizzato per la scrittura di messaggi di diagnostica.

Si applica a