DatabaseErrorPageExtensions.UseDatabaseErrorPage Yöntem

Tanım

Aşırı Yüklemeler

UseDatabaseErrorPage(IApplicationBuilder)
Kullanımdan kalktı.

İşlem hattından zaman uyumlu ve zaman uyumsuz veritabanıyla ilgili özel durumları yakalar ve bu özel durumlar, geçişler Entity Framework çözümlenir. Bu özel durumlar oluştuğunda, sorunu çözmek için olası eylemlerin ayrıntılarının yer verdiği bir HTML yanıtı oluşturulur.

UseDatabaseErrorPage(IApplicationBuilder, DatabaseErrorPageOptions)
Kullanımdan kalktı.

İşlem hattından zaman uyumlu ve zaman uyumsuz veritabanıyla ilgili özel durumları yakalar ve bu özel durumlar, geçişler Entity Framework çözümlenir. Bu özel durumlar oluştuğunda, sorunu çözmek için olası eylemlerin ayrıntılarının yer verdiği bir HTML yanıtı oluşturulur.

UseDatabaseErrorPage(IApplicationBuilder)

Dikkat

This is obsolete and will be removed in a future version. Use DatabaseDeveloperPageExceptionFilter instead, see documentation at https://aka.ms/DatabaseDeveloperPageExceptionFilter.

İşlem hattından zaman uyumlu ve zaman uyumsuz veritabanıyla ilgili özel durumları yakalar ve bu özel durumlar, geçişler Entity Framework çözümlenir. Bu özel durumlar oluştuğunda, sorunu çözmek için olası eylemlerin ayrıntılarının yer verdiği bir HTML yanıtı oluşturulur.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseDatabaseErrorPage(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDatabaseErrorPage (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("This is obsolete and will be removed in a future version. Use DatabaseDeveloperPageExceptionFilter instead, see documentation at https://aka.ms/DatabaseDeveloperPageExceptionFilter.")]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDatabaseErrorPage (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseDatabaseErrorPage : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("This is obsolete and will be removed in a future version. Use DatabaseDeveloperPageExceptionFilter instead, see documentation at https://aka.ms/DatabaseDeveloperPageExceptionFilter.")>]
static member UseDatabaseErrorPage : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseDatabaseErrorPage (app As IApplicationBuilder) As IApplicationBuilder

Parametreler

app
IApplicationBuilder

Ara IApplicationBuilder yazılımı kaydetmek için .

Döndürülenler

IApplicationBuilder

Birden IApplicationBuilder çok çağrının zincirlenene kadar aynı örnek.

Öznitelikler

Şunlara uygulanır

UseDatabaseErrorPage(IApplicationBuilder, DatabaseErrorPageOptions)

Dikkat

This is obsolete and will be removed in a future version. Use DatabaseDeveloperPageExceptionFilter instead, see documentation at https://aka.ms/DatabaseDeveloperPageExceptionFilter.

İşlem hattından zaman uyumlu ve zaman uyumsuz veritabanıyla ilgili özel durumları yakalar ve bu özel durumlar, geçişler Entity Framework çözümlenir. Bu özel durumlar oluştuğunda, sorunu çözmek için olası eylemlerin ayrıntılarının yer verdiği bir HTML yanıtı oluşturulur.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseDatabaseErrorPage(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::DatabaseErrorPageOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDatabaseErrorPage (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.DatabaseErrorPageOptions options);
[System.Obsolete("This is obsolete and will be removed in a future version. Use DatabaseDeveloperPageExceptionFilter instead, see documentation at https://aka.ms/DatabaseDeveloperPageExceptionFilter.")]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseDatabaseErrorPage (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.DatabaseErrorPageOptions options);
static member UseDatabaseErrorPage : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.DatabaseErrorPageOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("This is obsolete and will be removed in a future version. Use DatabaseDeveloperPageExceptionFilter instead, see documentation at https://aka.ms/DatabaseDeveloperPageExceptionFilter.")>]
static member UseDatabaseErrorPage : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.DatabaseErrorPageOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseDatabaseErrorPage (app As IApplicationBuilder, options As DatabaseErrorPageOptions) As IApplicationBuilder

Parametreler

app
IApplicationBuilder

Ara IApplicationBuilder yazılımı kaydetmek için .

options
DatabaseErrorPageOptions

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

Döndürülenler

IApplicationBuilder

Birden IApplicationBuilder çok çağrının zincirlenene kadar aynı örnek.

Öznitelikler

Şunlara uygulanır