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