共用方式為


TransactionalState<TState>.PerformUpdate<TResult> 方法

定義

執行更新作業並傳回結果。

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

類型參數

TResult

傳回值的型別

參數

updateAction
Func<TState,TResult>

傳回

Task<TResult>

實作

適用於