C# Class Microsoft.HockeyApp.CrashHandler

Afficher le fichier Open project: bitstadium/HockeySDK-Windows Class Usage Examples

Private Properties

Свойство Type Description
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

Méthodes publiques

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

Méthodes protégées

Méthode Description
AskUserForAgreementAsync ( ) : Task

Private Methods

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

Method Details

AskUserForAgreementAsync() protected méthode

protected AskUserForAgreementAsync ( ) : Task
Résultat Task

HandleCrashes() public méthode

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

HandleCrashesAsync() public méthode

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

MoveOldCrashlogsIfNeeded() public méthode

public MoveOldCrashlogsIfNeeded ( IsolatedStorageFile store ) : void
store IsolatedStorageFile
Résultat void