ErrorPage Method (HttpResponse, HttpException)

HttpServer.dll

Generate a HTTP error page (that will be added to the response body). response status code is also set.

Namespace:  HttpServer
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
protected virtual void ErrorPage(
	HttpResponse response,
	HttpException err
)
Visual Basic (Declaration)
Protected Overridable Sub ErrorPage ( _
	response As HttpResponse, _
	err As HttpException _
)
Visual C++
protected:
virtual void ErrorPage(
	HttpResponse^ response, 
	HttpException^ err
)

Parameters

response
Type: HttpServer..::.HttpResponse
Response that the page will be generated in.
err
Type: HttpServer.Exceptions..::.HttpException
exception.

See Also