C# Class Microsoft.HockeyApp.HockeyClientExtensionsWin81

Afficher le fichier Open project: bitstadium/HockeySDK-Windows

Méthodes publiques

Méthode Description
Configure ( this @this, string appIdentifier, TelemetryConfiguration configuration = null ) : IHockeyClientConfigurable

This is the main configuration method. Call this in the Constructor of your app. This registers an error handler for unhandled errors.

LogoutFromFeedback ( this @this ) : void

Call in your app if user logs out. Deletes all persistently stored data like FeedbackThreadToken, and cached Message. .

RegisterCustomUnhandledExceptionLogic ( this @this, bool>.Func customFunc ) : IHockeyClientConfigurable

The func you set will be called after HockeyApp has written the crash-log and allows you to continue If the func returns false the app will not terminate but keep running

RegisterCustomUnobserveredTaskExceptionLogic ( this @this, bool>.Func customFunc ) : IHockeyClientConfigurable

The func you set will be called after HockeyApp has written the crash-log and allows you to continue If the func returns false the app will not terminate but keep running

RegisterUnobservedTaskExceptionHandler ( this @this ) : IHockeyClientConfigurable

Adds the handler for UnobservedTaskException

ShowFeedback ( this @this, string initialUserName = null, string initialEMail = null ) : void

Invoke this method to open the feedback UI where a user can send you a message including image attachments over the HockeyApp feedback system.

UnregisterUnobservedTaskExceptionHandler ( this @this ) : IHockeyClientConfigurable

Removes the handler for UnobservedTaskException

Private Methods

Méthode Description
TaskScheduler_UnobservedTaskException ( object sender, System.Threading.Tasks.UnobservedTaskExceptionEventArgs e ) : void

Method Details

Configure() public static méthode

This is the main configuration method. Call this in the Constructor of your app. This registers an error handler for unhandled errors.
public static Configure ( this @this, string appIdentifier, TelemetryConfiguration configuration = null ) : IHockeyClientConfigurable
@this this
appIdentifier string Your unique app id from HockeyApp.
configuration TelemetryConfiguration Telemetry configuration.
Résultat IHockeyClientConfigurable

LogoutFromFeedback() public static méthode

Call in your app if user logs out. Deletes all persistently stored data like FeedbackThreadToken, and cached Message. .
public static LogoutFromFeedback ( this @this ) : void
@this this
Résultat void

RegisterCustomUnhandledExceptionLogic() public static méthode

The func you set will be called after HockeyApp has written the crash-log and allows you to continue If the func returns false the app will not terminate but keep running
public static RegisterCustomUnhandledExceptionLogic ( this @this, bool>.Func customFunc ) : IHockeyClientConfigurable
@this this
customFunc bool>.Func
Résultat IHockeyClientConfigurable

RegisterCustomUnobserveredTaskExceptionLogic() public static méthode

The func you set will be called after HockeyApp has written the crash-log and allows you to continue If the func returns false the app will not terminate but keep running
public static RegisterCustomUnobserveredTaskExceptionLogic ( this @this, bool>.Func customFunc ) : IHockeyClientConfigurable
@this this
customFunc bool>.Func
Résultat IHockeyClientConfigurable

RegisterUnobservedTaskExceptionHandler() public static méthode

Adds the handler for UnobservedTaskException
public static RegisterUnobservedTaskExceptionHandler ( this @this ) : IHockeyClientConfigurable
@this this
Résultat IHockeyClientConfigurable

ShowFeedback() public static méthode

Invoke this method to open the feedback UI where a user can send you a message including image attachments over the HockeyApp feedback system.
public static ShowFeedback ( this @this, string initialUserName = null, string initialEMail = null ) : void
@this this
initialUserName string [Optional] Username to prefill the name field
initialEMail string [Optional] Email to prefill the email field
Résultat void

UnregisterUnobservedTaskExceptionHandler() public static méthode

Removes the handler for UnobservedTaskException
public static UnregisterUnobservedTaskExceptionHandler ( this @this ) : IHockeyClientConfigurable
@this this
Résultat IHockeyClientConfigurable