IDataServiceHost.ResponseContentType Propiedad
Obtiene el protocolo de transporte de la respuesta.
Espacio de nombres: System.Data.Services
Ensamblado: Microsoft.Data.Services (en Microsoft.Data.Services.dll)
Sintaxis
'Declaración
Property ResponseContentType As String
Get
Set
'Uso
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)
Valor de la propiedad
Tipo: System.String
Valor de cadena que contiene el tipo de contenido.
Ejemplos
Para obtener más información sobre las propiedades admitidas por IDataServiceHost y su uso, vea Cliente de datos (WCF Data Services).