C# 클래스 Cimbalino.Phone.Toolkit.Helpers.LittleWatson

This object registers a raised exception information and allows the user to send the information thru e-mail.
파일 보기 프로젝트 열기: Cimbalino/Cimbalino-Phone-Toolkit

공개 메소드들

메소드 설명
CheckForPreviousException ( ) : void

Checks if a previous exception information was saved to isolated storage and if so, requests the user to send it by email.

Initialize ( string emailTo, string emailSubject ) : void

Initializes the LittleWatson.

Initialize ( string emailTo, string emailSubject, string sendRequestMessageBoxCaption, string sendRequestMessageBoxText ) : void

Initializes the LittleWatson.

ReportException ( Exception ex, string extra ) : void

Saves information regarding an exception to the isolated storage.

비공개 메소드들

메소드 설명
SafeDeleteFile ( IsolatedStorageFile store ) : void

메소드 상세

CheckForPreviousException() 공개 정적인 메소드

Checks if a previous exception information was saved to isolated storage and if so, requests the user to send it by email.
public static CheckForPreviousException ( ) : void
리턴 void

Initialize() 공개 정적인 메소드

Initializes the LittleWatson.
public static Initialize ( string emailTo, string emailSubject ) : void
emailTo string The recipient e-mail address.
emailSubject string The e-mail subject.
리턴 void

Initialize() 공개 정적인 메소드

Initializes the LittleWatson.
public static Initialize ( string emailTo, string emailSubject, string sendRequestMessageBoxCaption, string sendRequestMessageBoxText ) : void
emailTo string The recipient e-mail address.
emailSubject string The e-mail subject.
sendRequestMessageBoxCaption string The caption of the message box requesting the user to send the information.
sendRequestMessageBoxText string The text of the message box requesting the user to send the information.
리턴 void

ReportException() 공개 정적인 메소드

Saves information regarding an exception to the isolated storage.
public static ReportException ( Exception ex, string extra ) : void
ex System.Exception The exception that occurred.
extra string Extra data to save along with the exception information.
리턴 void