GetRestrictions Method
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
| Name | Description |
|---|---|
| ex | The 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.