다음을 통해 공유


DataServiceRequestArgs.AcceptContentType 속성

정의

요청 메시지의 Accept 헤더를 가져오거나 설정합니다.

public string AcceptContentType { get; set; }
member this.AcceptContentType : string with get, set
Public Property AcceptContentType As String

속성 값

Accept 헤더의 값입니다.

설명

스트림을 검색할 때 사용할 mime 형식(예: image/png)을 설정합니다. 이 속성의 내용에 대한 유효성 검사는 수행되지 않습니다. HTTP Accept 헤더의 값으로 사용할 수 있도록 올바르게 서식을 지정하는 것은 사용자의 책임입니다.

적용 대상