C# 클래스 SDownload.Framework.CrashHandler

Handles error reporting
파일 보기 프로젝트 열기: brkastner/SDownload 1 사용 예제들

공개 메소드들

메소드 설명
AddExtra ( String key, String value ) : void

Adds debug information to be sent with any crashes that occur in the future

ClearExtras ( ) : void

Wipes all debug information that was to be sent if a crash occured

SetUserIdentifier ( ) : void

Sets the User ID that accompanies any crashes

Throw ( String message, Exception inner, bool canReport = true ) : void

Reports an error to the user, and provides the option to report if the crash is critical enough

Throw ( String message, bool canReport = true ) : void

Reports an error to the user, and provides the option to report if the crash is critical enough

메소드 상세

AddExtra() 공개 정적인 메소드

Adds debug information to be sent with any crashes that occur in the future
public static AddExtra ( String key, String value ) : void
key String Identifier for the debug information
value String The debug information to send
리턴 void

ClearExtras() 공개 정적인 메소드

Wipes all debug information that was to be sent if a crash occured
public static ClearExtras ( ) : void
리턴 void

SetUserIdentifier() 공개 정적인 메소드

Sets the User ID that accompanies any crashes
public static SetUserIdentifier ( ) : void
리턴 void

Throw() 공개 정적인 메소드

Reports an error to the user, and provides the option to report if the crash is critical enough
public static Throw ( String message, Exception inner, bool canReport = true ) : void
message String Message to show to the user
inner System.Exception The exception that was thrown/raised
canReport bool If the crash should be allowed to be reported to Bugsense
리턴 void

Throw() 공개 정적인 메소드

Reports an error to the user, and provides the option to report if the crash is critical enough
public static Throw ( String message, bool canReport = true ) : void
message String The error message to show to the user
canReport bool If the crash should be allowed to be reported to Bugsense
리턴 void