C# Class Microsoft.HockeyApp.HockeyClientWPF

Show file Open project: bitstadium/HockeySDK-Windows

Public Methods

Method Description
Configure ( string appIdentifier, string appVersionInformation = null, string userID = null, string contactInformation = null, string>.Func descriptionLoader = null, string apiBase = "https://rink.hockeyapp.net", string userAgentString = null, bool keepRunning = false ) : void

Configures the HockeyAppSDK

CreateFeedbackThread ( ) : IFeedbackThread

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

DeleteAllCrashes ( ) : void

Cleans crashes.

OpenFeedbackThreadAsync ( string feedbackToken ) : Task

Opens a Feedback-Thread on the server.

SendCrashesNowAsync ( ) : System.Threading.Tasks.Task

Sends all available crashes

Method Details

Configure() public method

Configures the HockeyAppSDK
ApiBase must not be empty!
public Configure ( string appIdentifier, string appVersionInformation = null, string userID = null, string contactInformation = null, string>.Func descriptionLoader = null, string apiBase = "https://rink.hockeyapp.net", string userAgentString = null, bool keepRunning = false ) : void
appIdentifier string Identifier of the app
appVersionInformation string optional version of the app. If null the executing assembly version is used
userID string optional user id - e.g. the logged in user
contactInformation string optional contact information like an email adress
descriptionLoader string>.Func optional delegate for attaching description information like event logs etc. Can be null.
apiBase string optional: apiBase - if not the standard is used
userAgentString string The user agent string.
keepRunning bool optional: if an unhandled exception is thrown on the dispatcher thread, the system can be kept alive - default is false
return void

CreateFeedbackThread() public method

Creates a new Feedback-Thread. Thread is stored on the server with the first message.
public CreateFeedbackThread ( ) : IFeedbackThread
return IFeedbackThread

DeleteAllCrashes() public method

Cleans crashes.
public DeleteAllCrashes ( ) : void
return void

OpenFeedbackThreadAsync() public method

Opens a Feedback-Thread on the server.
public OpenFeedbackThreadAsync ( string feedbackToken ) : Task
feedbackToken string A guid which identifies the Feedback-Thread
return Task

SendCrashesNowAsync() public method

Sends all available crashes
public SendCrashesNowAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task