Bagikan melalui


DefaultStatusCodeAttribute(Int32) Konstruktor

Definisi

Menginisialisasi instans baru .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)

Parameter

statusCode
Int32

Kode status default.

Berlaku untuk