# ITransactionalState&lt;TState&gt;.PerformRead(Func&lt;TState, TResult&gt;)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.abstractions.itransactionalstate-1/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.abstractions.itransactionalstate-1/methods/)

```csharp
public abstract Task<TResult> PerformRead<TResult>(Func<TState, TResult> readFunction)
```

Performs a read operation and returns the result, without modifying the state.

### Parameters

- `readFunction` (`Func<TState, TResult>`): A function that reads the state and returns the result. MUST NOT modify the state.
