ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Core Namespace / GeoprocessingOptions Class / SetShowDiagnosticMessages Method
Boolean indicating if diagnostic messages are displayed.

In This Topic
    SetShowDiagnosticMessages Method
    In This Topic
    Sets whether diagnostic messages are displayed. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Sub SetShowDiagnosticMessages( _
       ByVal showDiagnosticMessages As Boolean _
    ) 
    public void SetShowDiagnosticMessages( 
       bool showDiagnosticMessages
    )

    Parameters

    showDiagnosticMessages
    Boolean indicating if diagnostic messages are displayed.
    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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.6 or higher.
    See Also