Jazyk

HandleExceptionArgs.ResponseContentType Vlastnost

Definice

Získá typ obsahu odpovědi.

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

Hodnota vlastnosti

Řetězcová hodnota, která označuje formát odpovědi.

Poznámky

Všechny chyby způsobí, že datová část chyby byla odeslána zpět ze služby. Tato vlastnost informuje autora služby o formátu chyby, která bude odeslána zpět. Hodnota této vlastnosti bude vždy platným typem MIME autority IANA (Internet Assigned Numbers Authority).

Platí pro