MessageBoxServiceBase.ShowWarning Method
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Function ShowWarning ( _
messageBoxText As String, _
caption As String _
) As MessageBoxResult
public MessageBoxResult ShowWarning(
string messageBoxText,
string caption
)
public:
virtual MessageBoxResult ShowWarning(
String^ messageBoxText,
String^ caption
) sealed
abstract ShowWarning :
messageBoxText:string *
caption:string -> MessageBoxResult
override ShowWarning :
messageBoxText:string *
caption:string -> MessageBoxResult
public final function ShowWarning(
messageBoxText : String,
caption : String
) : MessageBoxResult
Parameters
- messageBoxText
Type: System.String
- caption
Type: System.String
Return Value
Type: System.Windows.MessageBoxResult
Returns MessageBoxResult.
Implements
IMessageBoxService.ShowWarning(String, String)
.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.