다음을 통해 공유


ProducesResponseTypeAttribute<T> 생성자

정의

오버로드

ProducesResponseTypeAttribute<T>(Int32)

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

ProducesResponseTypeAttribute<T>(Int32, String, String[])

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

ProducesResponseTypeAttribute<T>(Int32)

Source:
ProducesResponseTypeOfTAttribute.cs

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

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

매개 변수

statusCode
Int32

HTTP 응답 상태 코드입니다.

적용 대상

ProducesResponseTypeAttribute<T>(Int32, String, String[])

Source:
ProducesResponseTypeOfTAttribute.cs

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

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

매개 변수

statusCode
Int32

HTTP 응답 상태 코드입니다.

contentType
String

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

additionalContentTypes
String[]

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

적용 대상