共用方式為


HealthCheckAnnotation(String) Constructor

Definition

An annotation which tracks the name of the health check used to detect to health of a resource.

public HealthCheckAnnotation (string key);
new Aspire.Hosting.ApplicationModel.HealthCheckAnnotation : string -> Aspire.Hosting.ApplicationModel.HealthCheckAnnotation
Public Sub New (key As String)

Parameters

key
String

The key for the health check in the app host which associated with this resource.

Applies to