IExplorerNodeContext.ShowMessageBox Method
Displays a message box.
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
DialogResult ShowMessageBox(
string message,
MessageBoxButtons buttons,
MessageBoxIcon icon
)
Parameters
- message
- Type: System.String
The message text.
- buttons
- Type: System.Windows.Forms.MessageBoxButtons
The buttons to display in the message box.
- icon
- Type: System.Windows.Forms.MessageBoxIcon
The icon to display in the message box.
Return Value
Type: System.Windows.Forms.DialogResultA value that specifies which button the user clicked in the message box.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.