C# Class Elmah.Error

Inheritance: ICloneable
Afficher le fichier Open project: elmah/Elmah Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

Initializes a new instance of the Error class.
public Error ( ) : System
Résultat System

Error() public méthode

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

Error() public méthode

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
Résultat System

ToString() public méthode

Returns the value of the Message property.
public ToString ( ) : string
Résultat string