C# Класс Airbrake.ExceptionHandler

Airbrake API compatible exception handler for C# First published on Sep 12, 2012 at: https://github.com/atech/airbrake-dotnet
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
GetXML System.Xml.XmlDocument
ParseBacktrace List

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

ExceptionHandler() публичный Метод

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.
Результат System

Send() публичный Метод

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.
Результат bool