Edit

Share via


IDataServiceHost.RequestContentType Property

Definition

Gets the transport protocol specified by the content type header.

public:
 property System::String ^ RequestContentType { System::String ^ get(); };
public string RequestContentType { get; }
member this.RequestContentType : string
Public ReadOnly Property RequestContentType As String

Property Value

String value that indicates content type.

Remarks

Protocols currently supported by WCF Data Services include JSON and AtomPub.

Applies to