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