IMessageBoxService.ShowError Method
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Function ShowError ( _
messageBoxText As String, _
caption As String _
) As MessageBoxResult
MessageBoxResult ShowError(
string messageBoxText,
string caption
)
MessageBoxResult ShowError(
String^ messageBoxText,
String^ caption
)
abstract ShowError :
messageBoxText:string *
caption:string -> MessageBoxResult
function ShowError(
messageBoxText : String,
caption : String
) : MessageBoxResult
Parameters
- messageBoxText
Type: System.String
- caption
Type: System.String
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.