Share via


IHttpResponseFeature.StatusCode Property

Definition

Gets or sets the status-code as defined 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

Property Value

Defaults to 200.

Applies to