Condividi tramite


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à

Il valore stringa che indica il formato della risposta.

Commenti

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

Si applica a