ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / ConfigurationManager Class / OnApplicationInitializing Method
Returning false signals a problem has occurred and the application should shut down.
Version

OnApplicationInitializing Method
Called when the application is initializing. It is safe to communicate with Portal at this time. The DAML records have not been processed at this point.
Syntax
protected internal virtual void OnApplicationInitializing( 
   CancelEventArgs cancelEventArgs
)

Parameters

cancelEventArgs
Returning false signals a problem has occurred and the application should shut down.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also