共用方式為


DefinitionMonitorHTTPOptions.ExpectedStatusCode Property

Definition

Optional. Specifies the HTTP status code expected from a healthy endpoint. Endpoint is considered unhealthy otherwise.

public int ExpectedStatusCode { get; set; }
member this.ExpectedStatusCode : int with get, set
Public Property ExpectedStatusCode As Integer

Property Value

Applies to