ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework.Dialogs Namespace / MessageBox Class / Show Method / Show(String) Method
Version

Show(String) Method
Displays a message box that has a message and that returns a result.
Syntax
public static MessageBoxResult Show( 
   string messageText
)

Parameters

messageText

Return Value

Specifies which message box button the user clicked.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also