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) Version: 12.2.18.1212 (12.2.18.1212)

Syntax

protected HttpResponseMessage CreateErrorResponse(
	HttpStatusCode statusCode,
	string message
)

Parameters

statusCode
Type: System.NetHttpStatusCode
message
Type: SystemString

Return Value

Type: HttpResponseMessage

Version Information

Supported in: 1.0.1

See Also

In this article
Not finding the help you need?