IDataServiceHost.RequestContentType 속성
콘텐츠 형식 헤더에 의해 지정된 전송 프로토콜을 가져옵니다.
네임스페이스: System.Data.Services
어셈블리: Microsoft.Data.Services(Microsoft.Data.Services.dll)
구문
‘선언
ReadOnly Property RequestContentType As String
Get
‘사용 방법
Dim instance As IDataServiceHost
Dim value As String
value = instance.RequestContentType
string RequestContentType { get; }
property String^ RequestContentType {
String^ get ();
}
abstract RequestContentType : string
function get RequestContentType () : String
속성 값
유형: System.String
콘텐츠 형식을 나타내는 문자열 값입니다.
주의
현재 WCF Data Services에서 지원하는 프로토콜에는 JSON과 AtomPub이 포함됩니다.