IMessageBoxService.Show Method
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Function Show ( _
messageBoxText As String, _
caption As String, _
buttons As MessageBoxButton, _
icon As MessageBoxImage, _
defaultResult As MessageBoxResult, _
options As MessageBoxOptions _
) As MessageBoxResult
MessageBoxResult Show(
string messageBoxText,
string caption,
MessageBoxButton buttons,
MessageBoxImage icon,
MessageBoxResult defaultResult,
MessageBoxOptions options
)
MessageBoxResult Show(
String^ messageBoxText,
String^ caption,
MessageBoxButton buttons,
MessageBoxImage icon,
MessageBoxResult defaultResult,
MessageBoxOptions options
)
abstract Show :
messageBoxText:string *
caption:string *
buttons:MessageBoxButton *
icon:MessageBoxImage *
defaultResult:MessageBoxResult *
options:MessageBoxOptions -> MessageBoxResult
function Show(
messageBoxText : String,
caption : String,
buttons : MessageBoxButton,
icon : MessageBoxImage,
defaultResult : MessageBoxResult,
options : MessageBoxOptions
) : MessageBoxResult
Parameters
- messageBoxText
Type: System.String
- caption
Type: System.String
- buttons
Type: System.Windows.MessageBoxButton
- icon
Type: System.Windows.MessageBoxImage
- defaultResult
Type: System.Windows.MessageBoxResult
- options
Type: System.Windows.MessageBoxOptions
Return Value
Type: System.Windows.MessageBoxResult
Returns MessageBoxResult.
.NET Framework Security
- 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.