ArcGIS Pro 3.6 API Reference Guide
ArcGIS.Desktop.Core Namespace / GeoprocessingOptions Class / SetShowNotificationOnToolCompletion Method
Boolean indicating if a notification is to be displayed when a tool has finished running.

In This Topic
    SetShowNotificationOnToolCompletion Method
    In This Topic
    Sets whether a notification is displayed when a geoprocessing tool completes. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void SetShowNotificationOnToolCompletion( 
       bool showNotificationOnToolCompletion
    )
    Public Sub SetShowNotificationOnToolCompletion( _
       ByVal showNotificationOnToolCompletion As Boolean _
    ) 

    Parameters

    showNotificationOnToolCompletion
    Boolean indicating if a notification is to be displayed when a tool has finished running.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    Note: see ArcGIS.Desktop.Core.Geoprocessing.GPExecuteToolFlags for available options for modifying behavior of ArcGIS.Desktop.Core.Geoprocessing.Geoprocessing.ExecuteToolAsync. Changing these parameters modifies behavior of interactive GP tools
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.6 or higher.
    See Also