Del via


TcpEndpointProbesOptions.FilterChecks Property

Definition

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

public:
 property Func<Microsoft::Extensions::Diagnostics::HealthChecks::HealthCheckRegistration ^, bool> ^ FilterChecks { Func<Microsoft::Extensions::Diagnostics::HealthChecks::HealthCheckRegistration ^, bool> ^ get(); void set(Func<Microsoft::Extensions::Diagnostics::HealthChecks::HealthCheckRegistration ^, bool> ^ value); };
public Func<Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration,bool>? FilterChecks { get; set; }
member this.FilterChecks : Func<Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckRegistration, bool> with get, set
Public Property FilterChecks As Func(Of HealthCheckRegistration, Boolean)

Property Value

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

Applies to