DatabaseErrorPageExtensions.UseDatabaseErrorPage Yöntem

Tanım

Aşırı Yüklemeler

UseDatabaseErrorPage(IApplicationBuilder)
Geçersiz.

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

UseDatabaseErrorPage(IApplicationBuilder, DatabaseErrorPageOptions)
Geçersiz.

Entity Framework geçişleri kullanılarak çözümlenebilen işlem hattından zaman uyumlu ve zaman uyumsuz veritabanıyla ilgili özel durumları yakalar. Bu özel durumlar oluştuğunda, sorunu çözmek için olası eylemlerin ayrıntılarını içeren 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.

Entity Framework geçişleri kullanılarak çözümlenebilen işlem hattından zaman uyumlu ve zaman uyumsuz veritabanıyla ilgili özel durumları yakalar. Bu özel durumlar oluştuğunda, sorunu çözmek için olası eylemlerin ayrıntılarını içeren 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

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

Döndürülenler

Birden çok çağrının zincirlenebilmesi için aynı IApplicationBuilder ö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.

Entity Framework geçişleri kullanılarak çözümlenebilen işlem hattından zaman uyumlu ve zaman uyumsuz veritabanıyla ilgili özel durumları yakalar. Bu özel durumlar oluştuğunda, sorunu çözmek için olası eylemlerin ayrıntılarını içeren 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

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

options
DatabaseErrorPageOptions

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

Döndürülenler

Birden çok çağrının zincirlenebilmesi için aynı IApplicationBuilder örnek.

Öznitelikler

Şunlara uygulanır