Dela via


KeyValueStoreReplica.CreateTransaction Method

Definition

Overloads

CreateTransaction()

Creates a unique Transaction instance, which is used to commit or rollback groups of key/value store operations.

CreateTransaction(KeyValueStoreTransactionSettings)

Creates a unique Transaction instance, which is used to commit or rollback groups of key/value store operations.

CreateTransaction()

Creates a unique Transaction instance, which is used to commit or rollback groups of key/value store operations.

public System.Fabric.Transaction CreateTransaction ();
member this.CreateTransaction : unit -> System.Fabric.Transaction
Public Function CreateTransaction () As Transaction

Returns

A Transaction object representing a transaction.

Applies to

CreateTransaction(KeyValueStoreTransactionSettings)

Creates a unique Transaction instance, which is used to commit or rollback groups of key/value store operations.

public System.Fabric.Transaction CreateTransaction (System.Fabric.KeyValueStoreTransactionSettings settings);
member this.CreateTransaction : System.Fabric.KeyValueStoreTransactionSettings -> System.Fabric.Transaction
Public Function CreateTransaction (settings As KeyValueStoreTransactionSettings) As Transaction

Parameters

settings
KeyValueStoreTransactionSettings

The transaction settings.

Returns

A Transaction object representing a transaction.

Applies to