IUIHostService.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 DialogResult
DialogResult ShowException(
Exception exception,
string caption
)
DialogResult ShowException(
Exception^ exception,
String^ caption
)
abstract ShowException :
exception:Exception *
caption:string -> DialogResult
function ShowException(
exception : Exception,
caption : String
) : DialogResult
Parameters
- exception
Type: System.Exception
- 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.