Exception Property (ErrorInfo)
Gets a value indicating the exception associated with the error, if any.
'Declaration
Public ReadOnly Property Exception As Exception
Property Value
An
Exception object representing the error, or null if no exception is associated with this error.