C# Class SharpBrake.Mvc.AirbrakeClient

The client responsible for communicating exceptions to the Airbrake service.
Afficher le fichier Open project: nhsevidence/SharpBrake.Mvc

Méthodes publiques

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

Private Methods

Méthode Description
OnRequestEnd ( WebRequest request, WebResponse response ) : void
RequestCallback ( IAsyncResult result ) : void
SetRequestBody ( WebRequest request, AirbrakeNotice notice ) : void

Method Details

AirbrakeClient() public méthode

public AirbrakeClient ( ) : System
Résultat System

AirbrakeClient() public méthode

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

Send() public méthode

Sends the specified notice to Airbrake.
public Send ( AirbrakeNotice notice ) : void
notice SharpBrake.Mvc.Serialization.AirbrakeNotice The notice.
Résultat void

Send() public méthode

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