IControlledApplicationLifetime.

Shutdown(int) Method

Summary

Shuts down the application and sets the exit code that is returned to the operating system when the application exits.

Syntax

void Shutdown(int exitCode = 0)

Parameters

Name Type Description
exitCode int An integer exit code for an application. The default exit code is 0.

Return Value

Type Description
void