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

HockeyClientWPFExtensions class.
Показать файл Открыть проект

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

Метод Описание
CheckForUpdatesAsync ( this @this, bool autoShowUi, Func shutdownActions = null, Action updateAvailableAction = null ) : Task

Check for available updates asynchronously.

Configure ( this @this, string identifier ) : IHockeyClientConfigurable

Configures the client.

CreateFeedbackThread ( this @this ) : IFeedbackThread

Creates a new Feedback-Thread. Thread is stored on the server with the first message.

OpenFeedbackThreadAsync ( this @this, string feedbackToken ) : Task

Opens a Feedback-Thread on the server.

RegisterCustomDispatcherUnhandledExceptionLogic ( this @this, Action customAction ) : IHockeyClientConfigurable

This will run after HockeyApp has written the crash-log to disk.

RegisterCustomUnhandledExceptionLogic ( this @this, Action customAction ) : IHockeyClientConfigurable

This will run after HockeyApp has written the crash-log to disk.

RegisterCustomUnobserveredTaskExceptionLogic ( this @this, Action customAction ) : IHockeyClientConfigurable

This will run after HockeyApp has written the crash-log to disk.

RegisterDefaultUnobservedTaskExceptionHandler ( this @this ) : IHockeyClientConfigurable

Adds the handler for UnobservedTaskExceptions

SendCrashesAsync ( this @this, System.Boolean sendAutomatically = false ) : Task

Send crashes to the HockeyApp server. If crashes are available a messagebox will popoup to ask the user if he wants to send crashes.

UnregisterDefaultUnobservedTaskExceptionHandler ( this @this ) : IHockeyClientConfigurable

Removes the handler for UnobservedTaskExceptions

UseCustomResourceManager ( this @this, ResourceManager manager ) : IHockeyClientConfigurable

Provide a custom resource manager to override standard sdk i18n strings

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

Метод Описание
CurrentDomain_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
Current_DispatcherUnhandledException ( object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e ) : void
GetMD5Hash ( string sourceString ) : string
TaskScheduler_UnobservedTaskException ( object sender, System.Threading.Tasks.UnobservedTaskExceptionEventArgs e ) : void

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

CheckForUpdatesAsync() публичный статический Метод

Check for available updates asynchronously.
public static CheckForUpdatesAsync ( this @this, bool autoShowUi, Func shutdownActions = null, Action updateAvailableAction = null ) : Task
@this this
autoShowUi bool Use the default update dialogs
shutdownActions Func Callback to gracefully stop your application. If using default-ui, call has to be provided.
updateAvailableAction Action Callback for available versions, if you want to provide own update dialogs
Результат Task

Configure() публичный статический Метод

Configures the client.
public static Configure ( this @this, string identifier ) : IHockeyClientConfigurable
@this this
identifier string Identifier.
Результат IHockeyClientConfigurable

CreateFeedbackThread() публичный статический Метод

Creates a new Feedback-Thread. Thread is stored on the server with the first message.
public static CreateFeedbackThread ( this @this ) : IFeedbackThread
@this this
Результат IFeedbackThread

OpenFeedbackThreadAsync() публичный статический Метод

Opens a Feedback-Thread on the server.
public static OpenFeedbackThreadAsync ( this @this, string feedbackToken ) : Task
@this this
feedbackToken string A guid which identifies the Feedback-Thread
Результат Task

RegisterCustomDispatcherUnhandledExceptionLogic() публичный статический Метод

This will run after HockeyApp has written the crash-log to disk.
public static RegisterCustomDispatcherUnhandledExceptionLogic ( this @this, Action customAction ) : IHockeyClientConfigurable
@this this
customAction Action
Результат IHockeyClientConfigurable

RegisterCustomUnhandledExceptionLogic() публичный статический Метод

This will run after HockeyApp has written the crash-log to disk.
public static RegisterCustomUnhandledExceptionLogic ( this @this, Action customAction ) : IHockeyClientConfigurable
@this this
customAction Action
Результат IHockeyClientConfigurable

RegisterCustomUnobserveredTaskExceptionLogic() публичный статический Метод

This will run after HockeyApp has written the crash-log to disk.
public static RegisterCustomUnobserveredTaskExceptionLogic ( this @this, Action customAction ) : IHockeyClientConfigurable
@this this
customAction Action
Результат IHockeyClientConfigurable

RegisterDefaultUnobservedTaskExceptionHandler() публичный статический Метод

Adds the handler for UnobservedTaskExceptions
public static RegisterDefaultUnobservedTaskExceptionHandler ( this @this ) : IHockeyClientConfigurable
@this this
Результат IHockeyClientConfigurable

SendCrashesAsync() публичный статический Метод

Send crashes to the HockeyApp server. If crashes are available a messagebox will popoup to ask the user if he wants to send crashes.
public static SendCrashesAsync ( this @this, System.Boolean sendAutomatically = false ) : Task
@this this
sendAutomatically System.Boolean if true crashes will be sent without asking
Результат Task

UnregisterDefaultUnobservedTaskExceptionHandler() публичный статический Метод

Removes the handler for UnobservedTaskExceptions
public static UnregisterDefaultUnobservedTaskExceptionHandler ( this @this ) : IHockeyClientConfigurable
@this this
Результат IHockeyClientConfigurable

UseCustomResourceManager() публичный статический Метод

Provide a custom resource manager to override standard sdk i18n strings
public static UseCustomResourceManager ( this @this, ResourceManager manager ) : IHockeyClientConfigurable
@this this
manager System.Resources.ResourceManager resource manager to use
Результат IHockeyClientConfigurable