IReliableStateManager.CreateTransaction Method

Definition

Create and start a new transaction that can be used to group operations to be performed atomically.

public Microsoft.ServiceFabric.Data.ITransaction CreateTransaction ();
abstract member CreateTransaction : unit -> Microsoft.ServiceFabric.Data.ITransaction
Public Function CreateTransaction () As ITransaction

Returns

ITransaction

A new transaction.

Remarks

Operations are added to the transaction by passing the ITransaction object in to reliable state methods.

Applies to