PropertyInterceptionContext<TValue>.OriginalException Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If execution of the operation fails, then this property will contain the exception that was thrown. If the operation was suppressed or did not fail, then this property will always be null.
public Exception OriginalException { get; }
member this.OriginalException : Exception
Public ReadOnly Property OriginalException As Exception
Property Value
Remarks
When an operation fails both this property and the Exception property are set to the exception that was thrown. However, the Exception property can be set or changed by interceptors, while this property will always represent the original exception thrown.
Applies to
Entity Framework