C# Class Airbrake.ExceptionHandler

Airbrake API compatible exception handler for C# First published on Sep 12, 2012 at: https://github.com/atech/airbrake-dotnet
Afficher le fichier Open project: atech/airbrake-dotnet

Private Properties

Свойство Type Description
GetXML System.Xml.XmlDocument
ParseBacktrace List

Méthodes publiques

Méthode Description
ExceptionHandler ( bool ssl, string host, string path, string apikey, string environment ) : System

Initializes a new instance of the ExceptionHandler class.

Send ( Exception ex, string>.List customParams = null ) : bool

Sends the specified exception to the server.

Private Methods

Méthode Description
GetXML ( Exception ex, string>.List customParams = null ) : XmlDocument

Renders an exception (and custom parameters) into an XML blob conforming to the Airbrake API specification.

ParseBacktrace ( XmlDocument doc, string stack ) : List

Parses the back trace string from an exception into an XML document.

Method Details

ExceptionHandler() public méthode

Initializes a new instance of the ExceptionHandler class.
public ExceptionHandler ( bool ssl, string host, string path, string apikey, string environment ) : System
ssl bool if set to true [SSL].
host string The host.
path string The path.
apikey string The API key.
environment string The environment.
Résultat System

Send() public méthode

Sends the specified exception to the server.
public Send ( Exception ex, string>.List customParams = null ) : bool
ex System.Exception The raw exception to report.
customParams string>.List The custom parameters that should be sent with the exception.
Résultat bool