C# Class Microsoft.HockeyApp.Extensibility.ApplicationStoppingEventArgs

Encapsulates arguments of the event.
Inheritance: System.EventArgs
Mostra file Open project: bitstadium/HockeySDK-Windows

Public Methods

Method 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 method

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

Run() public method

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