Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ITransactionalState<TState> Interface
Definition
- Namespace:
- Orleans.Transactions.Abstractions
- Assembly:
- Orleans.Transactions.dll
- Package:
- Microsoft.Orleans.Transactions v10.0.0
- Package:
- Microsoft.Orleans.Transactions v2.4.5
- Package:
- Microsoft.Orleans.Transactions v3.6.5
- Package:
- Microsoft.Orleans.Transactions v7.2.5
- Package:
- Microsoft.Orleans.Transactions v8.0.0
- Package:
- Microsoft.Orleans.Transactions v8.1.0
- Package:
- Microsoft.Orleans.Transactions v8.2.0
- Package:
- Microsoft.Orleans.Transactions v9.0.0
- Package:
- Microsoft.Orleans.Transactions v9.1.2
- Source:
- ITransactionalState.cs
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.
State that respects Orleans transaction semantics, and allows read/write locking
public interface ITransactionalState<TState> where TState : class, new()
type ITransactionalState<'State (requires 'State : null and 'State : (new : unit -> 'State))> = interface
Public Interface ITransactionalState(Of TState)
Type Parameters
- TState
The type of the state
- Derived
Methods
| Name | Description |
|---|---|
| PerformRead<TResult>(Func<TState,TResult>) |
Performs a read operation and returns the result, without modifying the state. |
| PerformUpdate<TResult>(Func<TState,TResult>) |
Performs an update operation and returns the result. |
Extension Methods
| Name | Description |
|---|---|
| PerformUpdate<TState>(ITransactionalState<TState>, Action<TState>) |
Performs an update operation, without returning any result. |
