TransactionalState<TState>.PerformRead<TResult> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Read the current state.
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)
Type Parameters
- TResult
Parameters
- operation
- Func<TState,TResult>
Returns
Task<TResult>