DeveloperExceptionPageExtensions.UseDeveloperExceptionPage Metode

Definisi

Overload

UseDeveloperExceptionPage(IApplicationBuilder)

Menangkap instans sinkron dan asinkron Exception dari alur dan menghasilkan respons kesalahan HTML.

UseDeveloperExceptionPage(IApplicationBuilder, DeveloperExceptionPageOptions)

Menangkap instans sinkron dan asinkron Exception dari alur dan menghasilkan respons kesalahan HTML.

UseDeveloperExceptionPage(IApplicationBuilder)

Sumber:
DeveloperExceptionPageExtensions.cs
Sumber:
DeveloperExceptionPageExtensions.cs

Menangkap instans sinkron dan asinkron Exception dari alur dan menghasilkan respons kesalahan HTML.

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

Parameter

Mengembalikan

Referensi ke app setelah operasi selesai.

Keterangan

Ini hanya boleh diaktifkan di lingkungan Pengembangan.

Berlaku untuk

UseDeveloperExceptionPage(IApplicationBuilder, DeveloperExceptionPageOptions)

Sumber:
DeveloperExceptionPageExtensions.cs
Sumber:
DeveloperExceptionPageExtensions.cs

Menangkap instans sinkron dan asinkron Exception dari alur dan menghasilkan respons kesalahan HTML.

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

Parameter

options
DeveloperExceptionPageOptions

DeveloperExceptionPageOptions yang menentukan opsi untuk middleware.

Mengembalikan

Referensi ke app setelah operasi selesai.

Keterangan

Ini hanya boleh diaktifkan di lingkungan Pengembangan.

Berlaku untuk