HttpException Constructor (HttpStatusCode, String, Exception)

HttpServer.dll

Create a new HttpException

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

Syntax

C#
public HttpException(
	HttpStatusCode code,
	string message,
	Exception inner
)
Visual Basic (Declaration)
Public Sub New ( _
	code As HttpStatusCode, _
	message As String, _
	inner As Exception _
)
Visual C++
public:
HttpException(
	HttpStatusCode code, 
	String^ message, 
	Exception^ inner
)

Parameters

code
Type: System.Net..::.HttpStatusCode
http status code (sent in the response)
message
Type: System..::.String
error description
inner
Type: System..::.Exception
inner exception

See Also