C# Класс Cimbalino.Phone.Toolkit.Helpers.LittleWatson

This object registers a raised exception information and allows the user to send the information thru e-mail.
Показать файл Открыть проект

Открытые методы

Метод Описание
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