Export (0) Print
Expand All

HandleExceptionArgs.ResponseContentType Property

Gets the response content type.

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

public string ResponseContentType { get; private set; }

Property Value

Type: System.String
The string value that indicates the response format.

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.

Show:
© 2015 Microsoft