Condividi tramite


TransactionalState<TState>.PerformRead<TResult> Metodo

Definizione

Leggere lo stato corrente.

public System.Threading.Tasks.Task<TResult> PerformRead<TResult> (Func<TState,TResult> operation);
abstract member PerformRead : Func<'State, 'Result (requires 'State : null and 'State : (new : unit -> 'State))> -> System.Threading.Tasks.Task<'Result>
override this.PerformRead : Func<'State, 'Result (requires 'State : null and 'State : (new : unit -> 'State))> -> System.Threading.Tasks.Task<'Result>
Public Function PerformRead(Of TResult) (operation As Func(Of TState, TResult)) As Task(Of TResult)

Parametri di tipo

TResult

Parametri

operation
Func<TState,TResult>

Restituisce

Task<TResult>

Implementazioni

Si applica a