HttpException Constructor (Int32, String^)
.NET Framework (current version)
Initializes a new instance of the HttpException class using an HTTP response status code and an error message.
Assembly: System.Web (in System.Web.dll)
Parameters
- httpCode
-
Type:
System::Int32
The HTTP response status code sent to the client corresponding to this error.
- message
-
Type:
System::String^
The error message displayed to the client when the exception is thrown.
.NET Framework
Available since 1.1
Available since 1.1
Show: