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