다음을 통해 공유


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>

상태를 업데이트하는 작업입니다.

반환

적용 대상