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




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph