Share via


ProducesResponseTypeMetadata(Int32, Type, String[]) 생성자

정의

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

public ProducesResponseTypeMetadata (int statusCode, Type? type = default, string[]? contentTypes = default);
new Microsoft.AspNetCore.Http.ProducesResponseTypeMetadata : int * Type * string[] -> Microsoft.AspNetCore.Http.ProducesResponseTypeMetadata
Public Sub New (statusCode As Integer, Optional type As Type = Nothing, Optional contentTypes As String() = Nothing)

매개 변수

statusCode
Int32

HTTP 응답 상태 코드입니다.

type
Type

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

contentTypes
String[]

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

적용 대상