C# 클래스 Microsoft.HockeyApp.Extensibility.ApplicationStoppingEventArgs

Encapsulates arguments of the event.
상속: System.EventArgs
파일 보기 프로젝트 열기: bitstadium/HockeySDK-Windows

공개 메소드들

메소드 설명
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.

메소드 상세

ApplicationStoppingEventArgs() 공개 메소드

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

Run() 공개 메소드

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