語言

InterceptionResult<TResult>.SuppressWithResult(TResult) 方法

定義

建立一個新 InterceptionResult<TResult> 實例,指示應抑制執行,並應使用該結果。

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)

參數

result
TResult

結果要用。

傳回

適用於