Share via


IAcceptsMetadata.ContentTypes 속성

정의

허용된 요청 콘텐츠 형식의 목록을 가져옵니다. 들어오는 요청에 이러한 값 중 하나가 있는 가 없 Content-Type 으면 요청은 415 응답으로 거부됩니다.

public System.Collections.Generic.IReadOnlyList<string> ContentTypes { get; }
member this.ContentTypes : System.Collections.Generic.IReadOnlyList<string>
Public ReadOnly Property ContentTypes As IReadOnlyList(Of String)

속성 값

적용 대상