DeveloperExceptionPageExtensions.UseDeveloperExceptionPage Yöntem

Tanım

Aşırı Yüklemeler

UseDeveloperExceptionPage(IApplicationBuilder)

İşlem hattından zaman uyumlu ve zaman uyumsuz Exception örnekleri yakalar ve HTML hata yanıtları oluşturur.

UseDeveloperExceptionPage(IApplicationBuilder, DeveloperExceptionPageOptions)

İşlem hattından zaman uyumlu ve zaman uyumsuz Exception örnekleri yakalar ve HTML hata yanıtları oluşturur.

UseDeveloperExceptionPage(IApplicationBuilder)

İşlem hattından zaman uyumlu ve zaman uyumsuz Exception örnekleri yakalar ve HTML hata yanıtları oluşturur.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseDeveloperExceptionPage(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDeveloperExceptionPage (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseDeveloperExceptionPage : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseDeveloperExceptionPage (app As IApplicationBuilder) As IApplicationBuilder

Parametreler

Döndürülenler

İşlem tamamlandıktan sonra öğesine app başvuru.

Açıklamalar

Bu yalnızca Geliştirme ortamında etkinleştirilmelidir.

Şunlara uygulanır

UseDeveloperExceptionPage(IApplicationBuilder, DeveloperExceptionPageOptions)

İşlem hattından zaman uyumlu ve zaman uyumsuz Exception örnekleri yakalar ve HTML hata yanıtları oluşturur.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseDeveloperExceptionPage(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::DeveloperExceptionPageOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDeveloperExceptionPage (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.DeveloperExceptionPageOptions options);
static member UseDeveloperExceptionPage : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.DeveloperExceptionPageOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseDeveloperExceptionPage (app As IApplicationBuilder, options As DeveloperExceptionPageOptions) As IApplicationBuilder

Parametreler

options
DeveloperExceptionPageOptions

DeveloperExceptionPageOptions Ara yazılım seçeneklerini belirten bir.

Döndürülenler

İşlem tamamlandıktan sonra öğesine app başvuru.

Açıklamalar

Bu yalnızca Geliştirme ortamında etkinleştirilmelidir.

Şunlara uygulanır