IDataServiceHost.ResponseContentType Property

Gets the transport protocol of the response.

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

Syntax

'Declaration
Property ResponseContentType As String 
    Get 
    Set
'Usage
Dim instance As IDataServiceHost 
Dim value As String 

value = instance.ResponseContentType

instance.ResponseContentType = value
string ResponseContentType { get; set; }
property String^ ResponseContentType {
    String^ get ();
    void set (String^ value);
}
abstract ResponseContentType : string with get, set
function get ResponseContentType () : String 
function set ResponseContentType (value : String)

Property Value

Type: System.String
String value containing the content type.

Examples

For more information about the properties supported by IDataServiceHost and their use, see Data Client (WCF Data Services).

See Also

Reference

IDataServiceHost Interface

System.Data.Services Namespace