ProducesResponseTypeAttribute.StatusCode Property

Definition

Gets or sets the HTTP status code of the response.

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

Applies to