Autodesk Vault ProfessionalVault API

ShowError(Exception,String) Method

Autodesk.DataManagement.Client.Framework.FormsLibrary

Displays an error dialog box which displays information about a specific exception.

Syntax

public static System.Windows.Forms.DialogResult ShowError(
   System.Exception ex,
   System.string title
)
Public Overloads Shared Function ShowError( _
   ByVal ex As System.Exception, _
   ByVal title As System.String _
) As System.Windows.Forms.DialogResult

Parameters

NameDescription
exThe exception object to display information for.
titleThe caption of the dialog box.

Return Value

The windows DialogResult which describes the button that was selected. In this case, the result will always be DialogResult.OK

See Also