C# Класс Microsoft.HockeyApp.CrashHandler

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
CrashHandler Microsoft.HockeyApp.Exceptions
CrashHandler Microsoft.HockeyApp.Model
CrashHandler System
CurrentDomain_UnhandledException void
Current_DispatcherUnhandledException void
Current_UnhandledException void
DeleteAllCrashes void
DeleteAllCrashesAsync System.Threading.Tasks.Task
GetCrashFiles Task>
GetCrashFiles string[]
GetDeviceManufacturer String
GetDeviceModel String
HandleException System.Threading.Tasks.Task
HandleException void
InitCrashLogInformation void
OnUnhandledException void
SendCrashesAsync System.Threading.Tasks.Task
SendCrashesNowAsync System.Threading.Tasks.Task
ShowNotificationToSend Task
TaskScheduler_UnobservedTaskException void

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

Метод Описание
HandleCrashes ( System.Boolean sendAutomatically = false ) : void

Handle saved crashes. Checks if new error traces are available and notifies the user if he wants to send them.

HandleCrashesAsync ( System.Boolean sendAutomatically = false ) : Task

Handle saved crashes async. Checks if new error traces are available and notifies the user if he wants to send them.

MoveOldCrashlogsIfNeeded ( IsolatedStorageFile store ) : void

Защищенные методы

Метод Описание
AskUserForAgreementAsync ( ) : Task

Приватные методы

Метод Описание
CrashHandler ( IHockeyClient hockeyClient, string>.Func descriptionLoader ) : Microsoft.HockeyApp.Exceptions
CrashHandler ( IHockeyClient hockeyClient, string>.Func descriptionLoader, bool keepRunning ) : Microsoft.HockeyApp.Model
CrashHandler ( ) : System
CurrentDomain_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
Current_DispatcherUnhandledException ( object sender, System e ) : void
Current_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
DeleteAllCrashes ( ) : void
DeleteAllCrashesAsync ( ) : System.Threading.Tasks.Task
GetCrashFiles ( ) : Task>
GetCrashFiles ( ) : string[]
GetDeviceManufacturer ( ) : String
GetDeviceModel ( ) : String
HandleException ( Exception e ) : System.Threading.Tasks.Task
HandleException ( Exception unhandledException ) : void
InitCrashLogInformation ( ) : void
OnUnhandledException ( object sender, System.Windows.ApplicationUnhandledExceptionEventArgs args ) : void
SendCrashesAsync ( IsolatedStorageFile store, string filenames ) : System.Threading.Tasks.Task
SendCrashesNowAsync ( ) : System.Threading.Tasks.Task
ShowNotificationToSend ( IsolatedStorageFile store, string filenames ) : Task
TaskScheduler_UnobservedTaskException ( object sender, System.Threading.Tasks.UnobservedTaskExceptionEventArgs e ) : void

Описание методов

AskUserForAgreementAsync() защищенный Метод

protected AskUserForAgreementAsync ( ) : Task
Результат Task

HandleCrashes() публичный Метод

Handle saved crashes. Checks if new error traces are available and notifies the user if he wants to send them.
public HandleCrashes ( System.Boolean sendAutomatically = false ) : void
sendAutomatically System.Boolean suppress the notification box and try to send crashes in the background.
Результат void

HandleCrashesAsync() публичный Метод

Handle saved crashes async. Checks if new error traces are available and notifies the user if he wants to send them.
public HandleCrashesAsync ( System.Boolean sendAutomatically = false ) : Task
sendAutomatically System.Boolean suppress the notification box and try to send crashes in the background.
Результат Task

MoveOldCrashlogsIfNeeded() публичный Метод

public MoveOldCrashlogsIfNeeded ( IsolatedStorageFile store ) : void
store IsolatedStorageFile
Результат void