NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IUIService.ShowMessage (String, String, Int32)

Displays the given message in a message box. This properly integrates the message box display with the development environment.

[Visual Basic]
Overloads Function ShowMessage( _
   ByVal message As String, _
   ByVal caption As String, _
   ByVal buttons As Integer _
) As DialogResult
[C#]
DialogResult ShowMessage(
   string message,
   string caption,
   int buttons
);
[C++]
DialogResult ShowMessage(
   String* message,
   String* caption,
   int buttons
) = 0;
[JScript]
function ShowMessage(
   message : String,
   caption : String,
   buttons : int
) : DialogResult;

Parameters

message
The message to display
caption
The caption for the dialog box.
buttons
The buttons to place on the dialog box. Must be one of MessageBox.OK, MessageBox.OKCANCEL, MessageBox.YESNO, MessageBox.YESNOCANCEL.

Return Value

The result of the message box, from DialogResult.

See Also

IUIService Interface | IUIService Members | System.WinForms.Design Namespace | IUIService.ShowMessage Overload List