ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TrayButton Class / SetWarningMessage Method
The message to display as a warning.

In This Topic
    SetWarningMessage Method
    In This Topic
    Sets a warning message for the tray button.
    Syntax
    protected void SetWarningMessage( 
       string msg
    )
    Protected Sub SetWarningMessage( _
       ByVal msg As String _
    ) 

    Parameters

    msg
    The message to display as a warning.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also