IReliableStateManager2.CreateTransaction(IsolationLevel) 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.
Create and start a new transaction that can be used to group operations to be performed atomically with specified single read isolation level.
public Microsoft.ServiceFabric.Data.ITransaction CreateTransaction (Microsoft.ServiceFabric.Data.Beta.IsolationLevel singleEntityIsolationLevelForPrimaryReads);
abstract member CreateTransaction : Microsoft.ServiceFabric.Data.Beta.IsolationLevel -> Microsoft.ServiceFabric.Data.ITransaction
Public Function CreateTransaction (singleEntityIsolationLevelForPrimaryReads As IsolationLevel) As ITransaction
Parameters
- singleEntityIsolationLevelForPrimaryReads
- IsolationLevel
The transaction-wide single item read isolation level
Returns
A new transaction.
Remarks
Operations are added to the transaction by passing the ITransaction object in to reliable state methods. This does not apply to reads on secondaries