HttpException.HttpException(Int32, String) Constructor
.NET Framework 3.0
Initializes a new instance of the HttpException class using an HTTP response status code and an error message.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public HttpException ( int httpCode, String message )
public function HttpException ( httpCode : int, message : String )
Not applicable.
Parameters
- httpCode
The HTTP response status code sent to the client corresponding to this error.
- message
The error message displayed to the client when the exception is thrown.
Community Additions
ADD
Show: