Autodesk Vault ProfessionalVault API

GetErrorCode Method

Autodesk.DataManagement.Client.Framework.ServicesIExceptionParserService

Returns an error code that identifies the error.

Syntax

System.string GetErrorCode(
   System.Exception ex
)
Function GetErrorCode( _
   ByVal ex As System.Exception _
) As System.String

Parameters

NameDescription
exThe exception to parse.

Return Value

The error code associated with the exception. This can be null or empty if the exception type does not support an error code.

Remarks

Not all exception types support an error code but it can be of use for certain types if the app wants to have business logic to handle a specific error

See Also