C# Class Microsoft.HockeyApp.HockeyClientWinFormsExtensions

HockeyClient Extension for WinForms.
Mostra file Open project: bitstadium/HockeySDK-Windows

Public Methods

Method Description
Configure ( this @this, string identifier, bool keepRunningAfterException ) : IHockeyClientConfigurable

Configures HockeyClient.

RegisterDefaultUnobservedTaskExceptionHandler ( this @this ) : IHockeyClientConfigurable

Adds the handler for UnobservedTaskExceptions

SendCrashesAsync ( this @this ) : Task

Send crashes to the HockeyApp server

UnregisterDefaultUnobservedTaskExceptionHandler ( this @this ) : IHockeyClientConfigurable

Removes the handler for UnobservedTaskExceptions

Private Methods

Method Description
CurrentDomain_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
Current_ThreadException ( object sender, ThreadExceptionEventArgs e ) : void
TaskScheduler_UnobservedTaskException ( object sender, System.Threading.Tasks.UnobservedTaskExceptionEventArgs e ) : void

Method Details

Configure() public static method

Configures HockeyClient.
public static Configure ( this @this, string identifier, bool keepRunningAfterException ) : IHockeyClientConfigurable
@this this
identifier string Identfier.
keepRunningAfterException bool Keep running after exception.
return IHockeyClientConfigurable

RegisterDefaultUnobservedTaskExceptionHandler() public static method

Adds the handler for UnobservedTaskExceptions
public static RegisterDefaultUnobservedTaskExceptionHandler ( this @this ) : IHockeyClientConfigurable
@this this
return IHockeyClientConfigurable

SendCrashesAsync() public static method

Send crashes to the HockeyApp server
public static SendCrashesAsync ( this @this ) : Task
@this this
return Task

UnregisterDefaultUnobservedTaskExceptionHandler() public static method

Removes the handler for UnobservedTaskExceptions
public static UnregisterDefaultUnobservedTaskExceptionHandler ( this @this ) : IHockeyClientConfigurable
@this this
return IHockeyClientConfigurable