次の方法で共有


TransactionalState<TState>.PerformRead<TResult> メソッド

定義

現在の状態を読み取ります。

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)

型パラメーター

TResult

パラメーター

operation
Func<TState,TResult>

戻り値

Task<TResult>

実装

適用対象