asp.net.ph

HttpException Constructor ( Int32, String )

System.Web Namespace   HttpException Class


Constructs an Exception using an HTTP error code and an error message.

[ VB ]
Public Sub New ( _
   ByVal httpCode As Integer, _
   ByVal message As String _
)

[ C# ]
public HttpException (
   int httpCode,
   string message
);

[ C++ ]
public: HttpException (
   int httpCode,
   String* message
);

[ JScript ]
public function HttpException (
   httpCode : int,
   message : String
);

Parameters

httpCode
The HTTP error code displayed on the client.
message
The message displayed to the client when the exception is thrown.
See Also

HttpException Members   HttpException Constructor Overload List Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note