DefaultStatusCodeAttribute(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 DefaultStatusCodeAttribute.
public:
DefaultStatusCodeAttribute(int statusCode);
public DefaultStatusCodeAttribute (int statusCode);
new Microsoft.AspNetCore.Mvc.Infrastructure.DefaultStatusCodeAttribute : int -> Microsoft.AspNetCore.Mvc.Infrastructure.DefaultStatusCodeAttribute
Public Sub New (statusCode As Integer)
Parameters
- statusCode
- Int32
The default status code.