DeveloperExceptionPageMiddleware Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
DeveloperExceptionPageMiddleware(RequestDelegate, IOptions<DeveloperExceptionPageOptions>, ILoggerFactory, IHostingEnvironment, DiagnosticSource)
Initialise une nouvelle instance de la 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)
Paramètres
- next
- RequestDelegate
- options
- IOptions<DeveloperExceptionPageOptions>
- loggerFactory
- ILoggerFactory
- hostingEnvironment
- IHostingEnvironment
- diagnosticSource
- DiagnosticSource
S’applique à
DeveloperExceptionPageMiddleware(RequestDelegate, IOptions<DeveloperExceptionPageOptions>, ILoggerFactory, IWebHostEnvironment, DiagnosticSource, IEnumerable<IDeveloperPageExceptionFilter>)
Initialise une nouvelle instance de la 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))
Paramètres
- next
- RequestDelegate
RequestDelegate représentant l’intergiciel suivant dans le pipeline.
- options
- IOptions<DeveloperExceptionPageOptions>
Options de configuration de l’intergiciel.
- loggerFactory
- ILoggerFactory
utilisé pour la ILoggerFactory journalisation.
- hostingEnvironment
- IWebHostEnvironment
- diagnosticSource
- DiagnosticSource
utilisé pour écrire des DiagnosticSource messages de diagnostic.
- filters
- IEnumerable<IDeveloperPageExceptionFilter>
Liste des inscrits IDeveloperPageExceptionFilter.