DatabaseErrorPageExtensions クラス

定義

注意事項

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

public ref class DatabaseErrorPageExtensions abstract sealed
public static class DatabaseErrorPageExtensions
[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 class DatabaseErrorPageExtensions
type DatabaseErrorPageExtensions = class
[<System.Obsolete("This is obsolete and will be removed in a future version. Use DatabaseDeveloperPageExceptionFilter instead, see documentation at https://aka.ms/DatabaseDeveloperPageExceptionFilter.")>]
type DatabaseErrorPageExtensions = class
Public Module DatabaseErrorPageExtensions
継承
DatabaseErrorPageExtensions
属性

メソッド

UseDatabaseErrorPage(IApplicationBuilder)
古い.

Entity Framework の移行を使用して解決できる同期および非同期データベース関連の例外をパイプラインからキャプチャします。 これらの例外が発生すると、問題が解決する可能性のあるアクションの詳細を含む HTML 応答が生成されます。

UseDatabaseErrorPage(IApplicationBuilder, DatabaseErrorPageOptions)
古い.

Entity Framework の移行を使用して解決できる同期および非同期データベース関連の例外をパイプラインからキャプチャします。 これらの例外が発生すると、問題が解決する可能性のあるアクションの詳細を含む HTML 応答が生成されます。

適用対象