Partager via


TransactionalState<TState>.PerformRead<TResult> Méthode

Définition

Lisez l’état actuel.

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)

Paramètres de type

TResult

Paramètres

operation
Func<TState,TResult>

Retours

Task<TResult>

Implémente

S’applique à