次の方法で共有


TransactionalStateExtensions.PerformUpdate<TState> メソッド

定義

結果を返さずに更新操作を実行します。

public static System.Threading.Tasks.Task PerformUpdate<TState> (this Orleans.Transactions.Abstractions.ITransactionalState<TState> transactionalState, Action<TState> updateAction) where TState : class, new();
static member PerformUpdate : Orleans.Transactions.Abstractions.ITransactionalState<'State (requires 'State : null and 'State : (new : unit -> 'State))> * Action<'State (requires 'State : null and 'State : (new : unit -> 'State))> -> System.Threading.Tasks.Task (requires 'State : null and 'State : (new : unit -> 'State))
<Extension()>
Public Function PerformUpdate(Of TState As {Class, New}) (transactionalState As ITransactionalState(Of TState), updateAction As Action(Of TState)) As Task

型パラメーター

TState

パラメーター

transactionalState
ITransactionalState<TState>

更新を実行するトランザクション状態。

updateAction
Action<TState>

状態を更新するアクション。

戻り値

適用対象