Progress® Telerik® Reporting R3 2020

ReportsControllerBase.CreateErrorResponse Method

Creates error response to be sent to the client

Namespace:  Telerik.Reporting.Services.WebApi
Assembly:  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: HttpResponseMessage
The HttpResponse containing the error message.

Version Information

Supported in: 1.0.1

See Also

In this article
Not finding the help you need?