StatusCodeResult(Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.