C# Class Microsoft.HockeyApp.CrashHandler

ファイルを表示 Open project: bitstadium/HockeySDK-Windows Class Usage Examples

Private Properties

Property 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

Public Methods

Method 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

Protected Methods

Method Description
AskUserForAgreementAsync ( ) : Task

Private Methods

Method 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 method

protected AskUserForAgreementAsync ( ) : Task
return Task

HandleCrashes() public method

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.
return void

HandleCrashesAsync() public method

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.
return Task

MoveOldCrashlogsIfNeeded() public method

public MoveOldCrashlogsIfNeeded ( IsolatedStorageFile store ) : void
store IsolatedStorageFile
return void