Share via


MutableInterceptionContext.OriginalException Property

Definition

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