HandleExceptionArgs.ResponseContentType Proprietà

Definizione

Ottiene il tipo di contenuto della risposta.

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

Valore della proprietà

Valore stringa che indica il formato della risposta.

Commenti

Tutti gli errori generano un payload di errore restituito dal servizio. Questa proprietà informa l'autore del servizio del formato dell'errore che verrà inviato di nuovo. Il valore di questa proprietà sarà sempre un tipo mime IANA (Internet Assigned Numbers Authority).

Si applica a