'Declaration
Public Overloads Overridable Function StatusCode( _ ByVal statusCode As Integer, _ ByVal value As Object _ ) As ObjectResult
public virtual ObjectResult StatusCode( int statusCode, object value )
Parameters
- statusCode
- The status code to set on the response.
- value
- The value to set on the Microsoft.AspNetCore.Mvc.ObjectResult.
Return Value
The created Microsoft.AspNetCore.Mvc.ObjectResult object for the response.