C# 클래스 StreamActions.ExceptionOut

Handles writing exceptions to standard error, and sending to the remote Exceptionless server, if enabled.
파일 보기 프로젝트 열기: StreamActions/StreamActions 1 사용 예제들

공개 메소드들

메소드 설명
SendException ( Exception e, object data ) : void

Sends the exception to the remote Exceptionless server, if enabled.

WriteException ( string niceDescription, Exception e, object data, bool sendException = true ) : void

Writes the exception to standard error and sends it to the remote Exceptionless server, according to the settings.

메소드 상세

SendException() 공개 정적인 메소드

Sends the exception to the remote Exceptionless server, if enabled.
public static SendException ( Exception e, object data ) : void
e Exception The exception that was thrown.
data object Any extra data that needs to be sent to the remote Exceptionless server.
리턴 void

WriteException() 공개 정적인 메소드

Writes the exception to standard error and sends it to the remote Exceptionless server, according to the settings.
public static WriteException ( string niceDescription, Exception e, object data, bool sendException = true ) : void
niceDescription string The description printed to the console if debug mode is turned off.
e Exception The exception that was thrown.
data object Any extra data that needs to be sent to the remote Exceptionless server.
sendException bool Whether to send the exception to Exceptionless, if enabled.
리턴 void