ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core.Licensing Namespace / LicensedApplication Class / Shutdown Method / Shutdown(Int32) Method
An integer exit code for an application. The default exit code is 0.
Version

Shutdown(Int32) Method
Shuts down the application.
Syntax
public new void Shutdown( 
   int exitCode
)

Parameters

exitCode
An integer exit code for an application. The default exit code is 0.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also