Επεξεργασία

Κοινή χρήση μέσω


HandleExceptionArgs.ResponseContentType Property

Definition

Gets the response content type.

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

Property Value

The string value that indicates the response format.

Remarks

All errors result in an error payload sent back from the service. This property informs the service author of the format the error that will be sent back. The value of this property will always be a valid Internet Assigned Numbers Authority (IANA) mime type.

Applies to