Autodesk Vault ProfessionalVault API

GetRestrictions Method

Autodesk.DataManagement.Client.Framework.InterfacesIExceptionParserProvider

Returns 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 object to be parsed.

Return Value

A list of restrictions associated with the exception. This may be null or an empty list if there are no exceptions.

See Also