







|
| C# Webserver |
| HttpException Constructor (HttpStatusCode, String) |
| HttpException Class See Also Send Feedback |
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 ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ code As HttpStatusCode, _ message As String _ ) |
| Visual C++ |
|---|
public: HttpException( HttpStatusCode code, String^ message ) |
Parameters
- code
- Type: System.Net..::.HttpStatusCode
http status code (sent in the response)
- message
- Type: System..::.String
error description
