Gets the
System.Exception instance that caused the current exception.
'Declaration
Public ReadOnly Property InnerException As Exception
public Exception InnerException {get;}
Property Value
An object that describes the error that caused the current exception. The
System.Exception.InnerException property returns the same value as was passed into the
System.Exception.#ctor(System.String,System.Exception) constructor, or null if the inner exception value was not supplied to the constructor. This property is read-only.