ProducesResponseTypeAttribute 생성자

정의

오버로드

ProducesResponseTypeAttribute(Int32)

ProducesResponseTypeAttribute의 인스턴스를 초기화합니다.

ProducesResponseTypeAttribute(Type, Int32)

ProducesResponseTypeAttribute의 인스턴스를 초기화합니다.

ProducesResponseTypeAttribute(Type, Int32, String, String[])

ProducesResponseTypeAttribute의 인스턴스를 초기화합니다.

ProducesResponseTypeAttribute(Int32)

ProducesResponseTypeAttribute의 인스턴스를 초기화합니다.

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

매개 변수

statusCode
Int32

HTTP 응답 상태 코드입니다.

적용 대상

ProducesResponseTypeAttribute(Type, Int32)

ProducesResponseTypeAttribute의 인스턴스를 초기화합니다.

public:
 ProducesResponseTypeAttribute(Type ^ type, int statusCode);
public ProducesResponseTypeAttribute (Type type, int statusCode);
new Microsoft.AspNetCore.Mvc.ProducesResponseTypeAttribute : Type * int -> Microsoft.AspNetCore.Mvc.ProducesResponseTypeAttribute
Public Sub New (type As Type, statusCode As Integer)

매개 변수

type
Type

Type 응답에 기록될 개체의 입니다.

statusCode
Int32

HTTP 응답 상태 코드입니다.

적용 대상

ProducesResponseTypeAttribute(Type, Int32, String, String[])

ProducesResponseTypeAttribute의 인스턴스를 초기화합니다.

public ProducesResponseTypeAttribute (Type type, int statusCode, string contentType, params string[] additionalContentTypes);
new Microsoft.AspNetCore.Mvc.ProducesResponseTypeAttribute : Type * int * string * string[] -> Microsoft.AspNetCore.Mvc.ProducesResponseTypeAttribute
Public Sub New (type As Type, statusCode As Integer, contentType As String, ParamArray additionalContentTypes As String())

매개 변수

type
Type

Type 응답에 기록될 개체의 입니다.

statusCode
Int32

HTTP 응답 상태 코드입니다.

contentType
String

응답과 연결된 콘텐츠 형식입니다.

additionalContentTypes
String[]

응답에서 지원하는 추가 콘텐츠 형식입니다.

적용 대상