ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Framework.Dialogs Namespace / MessageBox Class / Show Method / Show(Window,String,String,MessageBoxButton) Method

Show(Window,String,String,MessageBoxButton) Method
Displays a message box in front of the specified window. The message box displays a message, title bar caption, button, and icon; and it also returns a result.
Syntax

Parameters

owner
messageText
caption
button
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also