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.

In This Topic
    OnApplicationInitializing Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also