Progress® Telerik® Reporting R3 2017

ReportsControllerBaseCreateErrorResponse 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
message
Type: SystemString

Return Value

Type: HttpResponseMessage

See Also