IDataServiceHost.RequestContentType Property

 

Gets the transport protocol specified by the content type header.

Namespace:   System.Data.Services
Assembly:  System.Data.Services (in System.Data.Services.dll)

string RequestContentType { get; }

Property Value

Type: System.String

String value that indicates content type.

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

.NET Framework
Available since 3.5
Return to top
Show: