C# 클래스 System.Windows.Mvvm.Services.Application.ApplicationService

Represents a service, that provides functionality to manage the application life-cycle.
파일 보기 프로젝트 열기: lecode-official/mvvm-framework 1 사용 예제들

공개 메소드들

메소드 설명
Restart ( ) : void

Shuts down the current instance of the application and directly launches a new instance. Be careful using this method, since the underlying implementation has problems with preserving the command line arguments.

Shutdown ( ) : void

Shuts down the application with a standard error code (0x0).

Shutdown ( int exitCode ) : void

Shuts down the application with the provided exit code.

메소드 상세

Restart() 공개 메소드

Shuts down the current instance of the application and directly launches a new instance. Be careful using this method, since the underlying implementation has problems with preserving the command line arguments.
public Restart ( ) : void
리턴 void

Shutdown() 공개 메소드

Shuts down the application with a standard error code (0x0).
public Shutdown ( ) : void
리턴 void

Shutdown() 공개 메소드

Shuts down the application with the provided exit code.
public Shutdown ( int exitCode ) : void
exitCode int The exit code that is handed to the operating system to specify the result of the application. This could be an error or success code.
리턴 void