C# Class Elmah.Error

Inheritance: ICloneable
Show file Open project: elmah/Elmah Class Usage Examples

Public Methods

Method Description
Error ( ) : System

Initializes a new instance of the Error class.

Error ( Exception e ) : System

Initializes a new instance of the Error class from a given Exception instance.

Error ( Exception e, System.Web.HttpContextBase context ) : System

Initializes a new instance of the Error class from a given Exception instance and HttpContext instance representing the HTTP context during the exception.

ToString ( ) : string

Returns the value of the Message property.

Private Methods

Method Description
CopyCollection ( System.Web.HttpCookieCollection cookies ) : System.Collections.Specialized.NameValueCollection
CopyCollection ( System.Collections.Specialized.NameValueCollection collection ) : System.Collections.Specialized.NameValueCollection
FaultIn ( System.Collections.Specialized.NameValueCollection &collection ) : System.Collections.Specialized.NameValueCollection
ICloneable ( ) : object

Creates a new object that is a copy of the current instance.

TryGetHtmlErrorMessage ( HttpException e ) : string

Method Details

Error() public method

Initializes a new instance of the Error class.
public Error ( ) : System
return System

Error() public method

Initializes a new instance of the Error class from a given Exception instance.
public Error ( Exception e ) : System
e System.Exception
return System

Error() public method

Initializes a new instance of the Error class from a given Exception instance and HttpContext instance representing the HTTP context during the exception.
public Error ( Exception e, System.Web.HttpContextBase context ) : System
e System.Exception
context System.Web.HttpContextBase
return System

ToString() public method

Returns the value of the Message property.
public ToString ( ) : string
return string