DatabaseDeveloperPageExceptionFilter 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 DatabaseDeveloperPageExceptionFilter 的新執行個體。
public:
DatabaseDeveloperPageExceptionFilter(Microsoft::Extensions::Logging::ILogger<Microsoft::AspNetCore::Diagnostics::EntityFrameworkCore::DatabaseDeveloperPageExceptionFilter ^> ^ logger, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::DatabaseErrorPageOptions ^> ^ options);
public DatabaseDeveloperPageExceptionFilter (Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.DatabaseDeveloperPageExceptionFilter> logger, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.DatabaseErrorPageOptions> options);
new Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.DatabaseDeveloperPageExceptionFilter : Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.DatabaseDeveloperPageExceptionFilter> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.DatabaseErrorPageOptions> -> Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.DatabaseDeveloperPageExceptionFilter
Public Sub New (logger As ILogger(Of DatabaseDeveloperPageExceptionFilter), options As IOptions(Of DatabaseErrorPageOptions))