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