Autodesk Vault ProfessionalVault API

HandleException Method

Autodesk.DataManagement.Client.Framework.Forms.InterfacesICustomUIExceptionProvider

Executes the custom handling for a specifc exception.

Syntax

System.bool HandleException(
   System.Exception ex,
   ref System.Windows.Forms.DialogResult dlgResult
)
Function HandleException( _
   ByVal ex As System.Exception, _
   ByRef dlgResult As System.Windows.Forms.DialogResult _
) As System.Boolean

Parameters

NameDescription
exThe exception to be handled
dlgResultThe DialogResult that should be returned to the caller of Autodesk.DataManagement.Client.Framework.Forms.Library.ShowError(ex)

Return Value

True if this handler handles the exception, false otherwise.

Remarks

This method will be called when Autodesk.DataManagement.Client.Framework.Forms.Library.ShowError(ex) is called for an exception registered with the RegisterHandler method of the with the Custom UI Exception Registration Service.

See Also