InterceptionResult<TResult>.SuppressWithResult(TResult) Methode

Definition

Erstellt eine neue InterceptionResult<TResult> instance, die angibt, dass die Ausführung unterdrückt und stattdessen das angegebene Ergebnis verwendet werden soll.

public static Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult<TResult> SuppressWithResult (TResult result);
static member SuppressWithResult : 'Result -> Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult<'Result>
Public Shared Function SuppressWithResult (result As TResult) As InterceptionResult(Of TResult)

Parameter

result
TResult

Das zu verwendende Ergebnis.

Gibt zurück

Gilt für: