MutableInterceptionContext<TResult>.Result 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 this property is set before the operation has executed, then execution of the operation will be suppressed and the set result will be returned instead. Otherwise, if the operation succeeds, then this property will be set to the returned result. In either case, interceptors that run after the operation can change this property to change the result that will be returned.
public TResult Result { get; set; }
member this.Result : 'Result with get, set
Public Property Result As TResult
Property Value
Remarks
When an operation operation completes without throwing both this property and the OriginalResult property are set. However, this property can be set or changed by interceptors, while the OriginalResult property will always represent the actual result returned by the operation, if any.
Applies to
Entity Framework