ArcGIS Pro 2.7 API Reference Guide
OnApplicationInitializing Method

ArcGIS.Desktop.Framework.Contracts Namespace > ConfigurationManager Class : OnApplicationInitializing Method
Returning false signals a problem has occurred and the application should shut down.
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
)
Protected Friend Overridable Sub OnApplicationInitializing( _
   ByVal cancelEventArgs As CancelEventArgs _
) 

Parameters

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

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ConfigurationManager Class
ConfigurationManager Members