Autodesk Vault ProfessionalVault API

GetRestrictions Method

Autodesk.DataManagement.Client.Framework.ServicesIExceptionParserService

Gets a list of restrictions that may be embedded in an exception object.

Syntax

System.Collections.Generic.IList<ExceptionRestriction> GetRestrictions(
   System.Exception ex
)
Function GetRestrictions( _
   ByVal ex As System.Exception _
) As System.Collections.Generic.IList(Of ExceptionRestriction)

Parameters

NameDescription
exThe exception to parse.

Return Value

The list of restrictions embedded in the exception. This can be null or an empty list if there are no restrictions.

See Also