Progress® Telerik® Reporting R3 2020
ReportsControllerBase.CreateErrorResponse Method
Creates error response to be sent to the client
Namespace:
Telerik.Reporting.Services.WebApiAssembly: Telerik.Reporting.Services.WebApi (in Telerik.Reporting.Services.WebApi.dll)
Syntax
protected HttpResponseMessage CreateErrorResponse( HttpStatusCode statusCode, string message )
Parameters
- statusCode
- Type: System.NetHttpStatusCode
The response code. - message
- Type: SystemString
The error message.
Return Value
Type: HttpResponseMessageThe HttpResponse containing the error message.
Version Information
Supported in: 1.0.1