C# 클래스 SharpBrake.Mvc.AirbrakeClient

The client responsible for communicating exceptions to the Airbrake service.
파일 보기 프로젝트 열기: nhsevidence/SharpBrake.Mvc

공개 메소드들

메소드 설명
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