asp.net.ph

HttpException Class

System.Web Namespace


Provides a means of handling HTTP exceptions.

HttpException Class Members

Collapse   Constructors

Visibility Constructor Parameters
public HttpException ( )
public HttpException ( String message )
public HttpException ( String message , Int32 hr )
public HttpException ( String message , Exception innerException )
public HttpException ( Int32 httpCode , String message , Exception innerException )
public HttpException ( Int32 httpCode , String message )
public HttpException ( Int32 httpCode , String message , Int32 hr )

Collapse   Properties

Visibility Name Value Type Accessibility
public WebEventCode Int32 [ Get ]

Collapse   Methods

Visibility Name Parameters Return Type
public static CreateFromLastError ( String message ) HttpException
public GetHtmlErrorMessage ( ) String
public GetHttpCode ( ) Int32
public GetObjectData ( SerializationInfo info , StreamingContext context ) Void

Syntax


To set a property or call a method:

HttpException.propertyName = value;
HttpException.methodName ( arguments );
  C# VB

To return the value of a property or method:

Type var = HttpException.propertyName;
Type var = HttpException.methodName ( arguments );
  C# VB

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