ArcGIS Pro 3.7 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 Friend Overridable Sub OnApplicationInitializing( _
       ByVal cancelEventArgs As CancelEventArgs _
    ) 
    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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also