C# Class Microsoft.HockeyApp.Extensibility.ApplicationStoppingEventArgs

Encapsulates arguments of the event.
Inheritance: System.EventArgs
Afficher le fichier Open project: bitstadium/HockeySDK-Windows

Méthodes publiques

Méthode Description
ApplicationStoppingEventArgs ( Func asyncMethodRunner ) : System

Initializes a new instance of the ApplicationStoppingEventArgs class with the specified runner of asynchronous methods.

Run ( Func asyncMethod ) : void

Runs the specified asynchronous method while preventing the application from exiting.

Method Details

ApplicationStoppingEventArgs() public méthode

Initializes a new instance of the ApplicationStoppingEventArgs class with the specified runner of asynchronous methods.
public ApplicationStoppingEventArgs ( Func asyncMethodRunner ) : System
asyncMethodRunner Func
Résultat System

Run() public méthode

Runs the specified asynchronous method while preventing the application from exiting.
public Run ( Func asyncMethod ) : void
asyncMethod Func
Résultat void