Share via


IHttpResponseFeature.StatusCode Proprietà

Definizione

Ottiene o imposta il codice di stato come definito in RFC 7230.

public:
 property int StatusCode { int get(); void set(int value); };
public int StatusCode { get; set; }
member this.StatusCode : int with get, set
Public Property StatusCode As Integer

Valore della proprietà

Il valore predefinito è 200.

Si applica a