TcpEndpointProbesOptions.FilterChecks Property

Definition

Gets or sets a predicate that is used to include health checks based on user-defined criteria.

public Func<Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration,bool>? FilterChecks { get; set; }

Property Value

The default value is null, which has the effect of enabling all health checks.

Applies to

Prodotto Versioni
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)