net10.0-windows7.0
namespace Microsoft.Extensions.DependencyInjection
{
public static class EntityFrameworkCoreHealthChecksBuilderExtensions
{
public static IHealthChecksBuilder! AddDbContextCheck<TContext>(this IHealthChecksBuilder! builder, string? name = null, HealthStatus? failureStatus = default, IEnumerable<string!>? tags = null, Func<TContext!, CancellationToken, Task<bool>!>? customTestQuery = null)
where TContext, DbContext!;
}
}
.NET | 9.010.0 |
---|---|
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assembly | Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore , Version=9.0.2.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore (9.0.2) net9.0 |
Platform Restrictions | This API is supported on all platforms. |