C# Class Cimbalino.Phone.Toolkit.Helpers.LittleWatson

This object registers a raised exception information and allows the user to send the information thru e-mail.
Afficher le fichier Open project: Cimbalino/Cimbalino-Phone-Toolkit

Méthodes publiques

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

Private Methods

Méthode Description
SafeDeleteFile ( IsolatedStorageFile store ) : void

Method Details

CheckForPreviousException() public static méthode

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

Initialize() public static méthode

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

Initialize() public static méthode

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

ReportException() public static méthode

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