IUIHostService.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 DialogResult
DialogResult ShowError(
string messageBoxText,
string caption
)
DialogResult ShowError(
String^ messageBoxText,
String^ caption
)
abstract ShowError :
messageBoxText:string *
caption:string -> DialogResult
function ShowError(
messageBoxText : String,
caption : String
) : DialogResult
Parameters
- messageBoxText
Type: System.String
- caption
Type: System.String
Return Value
Type: System.Windows.Forms.DialogResult
Returns DialogResult.
.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.