Delen via


StatusCodeResult(Int32) Constructor

Definition

Initializes a new instance of the StatusCodeResult class with the given statusCode.

public:
 StatusCodeResult(int statusCode);
public StatusCodeResult (int statusCode);
new Microsoft.AspNetCore.Mvc.StatusCodeResult : int -> Microsoft.AspNetCore.Mvc.StatusCodeResult
Public Sub New (statusCode As Integer)

Parameters

statusCode
Int32

The HTTP status code of the response.

Applies to