ExceptionInnerException Property |
Gets the
Exception instance that caused the current exception.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public Exception InnerException { get; }
Return Value
Type:
ExceptionAn instance of Exception that describes the error that caused the current exception. The InnerException property returns the same value as was passed into the constructor, or a null reference (Nothing in Visual Basic) if the inner exception value was not supplied to the constructor. This property is read-only.
See Also