C# Класс SharpBrake.Mvc.AirbrakeClient

The client responsible for communicating exceptions to the Airbrake service.
Показать файл Открыть проект

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

Метод Описание
AirbrakeClient ( ) : System
AirbrakeClient ( AirbrakeConfiguration config ) : System

Initializes a new instance of the AirbrakeClient class.

Send ( AirbrakeNotice notice ) : void

Sends the specified notice to Airbrake.

Send ( Exception exception, string>.IEnumerable extraParams = null ) : void

Sends the specified exception to Airbrake.

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

Метод Описание
OnRequestEnd ( WebRequest request, WebResponse response ) : void
RequestCallback ( IAsyncResult result ) : void
SetRequestBody ( WebRequest request, AirbrakeNotice notice ) : void

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

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

public AirbrakeClient ( ) : System
Результат System

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

Initializes a new instance of the AirbrakeClient class.
public AirbrakeClient ( AirbrakeConfiguration config ) : System
config AirbrakeConfiguration
Результат System

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

Sends the specified notice to Airbrake.
public Send ( AirbrakeNotice notice ) : void
notice SharpBrake.Mvc.Serialization.AirbrakeNotice The notice.
Результат void

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

Sends the specified exception to Airbrake.
public Send ( Exception exception, string>.IEnumerable extraParams = null ) : void
exception System.Exception The e.
extraParams string>.IEnumerable Extra parameters for logging
Результат void